refactor(ci): organize workflow scripts and gate publish on main

This commit is contained in:
2026-03-26 15:58:18 +01:00
parent df2ce636c8
commit 128f71745a
9 changed files with 72 additions and 46 deletions

View File

@@ -26,14 +26,14 @@ jobs:
- name: Check whether tagged commit is on main
id: branch-check
run: bash scripts/github/check-tagged-commit-on-main.sh
run: bash scripts/github/common/check-tagged-commit-on-main.sh
- name: Wait for CI success on main for this commit
if: steps.branch-check.outputs.is_on_main == 'true'
env:
GH_TOKEN: ${{ github.token }}
run: bash scripts/github/wait-for-main-ci-success.sh
run: bash scripts/github/mark-stable/wait-for-main-ci-success.sh
- name: Move 'stable' tag only if this version is the highest
if: steps.branch-check.outputs.is_on_main == 'true'
run: bash scripts/github/mark-stable-if-highest-version.sh
run: bash scripts/github/mark-stable/mark-stable-if-highest-version.sh