DEVX-2: fix: make sync-wiki and vikunja depend on release

This commit is contained in:
2026-06-22 17:16:02 +00:00
parent ac8a1d3be4
commit 388c3df043
2 changed files with 11 additions and 6 deletions
+10 -5
View File
@@ -7,10 +7,15 @@ name: Post-merge
# Job dependency graph:
#
# detect-type ──┬── release (skip if release commit)
# ├── sync-wiki (skip if release commit)
# ├── badges (ALWAYS runs — even on release commits)
# ├── vikunja (skip if release commit)
# ── configure-repo (skip if release commit)
# ├── configure-repo (independent — skip if release commit)
# ── sync-wiki (needs release — skip if release commit/fails)
# └── vikunja (needs release — skip if release commit/fails)
#
# sync-wiki and vikunja depend on release succeeding so that the wiki
# and task tracker are only updated when the code is actually released.
# If release fails, they are skipped to avoid leaving the wiki or
# Vikunja in an inconsistent state with the codebase on master.
#
# The badges job depends on release so it picks up the latest version
# number. It uses `if: always()` with no is-release condition so it
@@ -106,7 +111,7 @@ jobs:
--commit "${{ github.sha }}"
sync-wiki:
needs: [detect-type]
needs: [detect-type, release]
if: needs.detect-type.outputs.is-release == 'false'
runs-on: docker
timeout-minutes: 10
@@ -173,7 +178,7 @@ jobs:
--commit "${{ github.sha }}"
vikunja:
needs: [detect-type]
needs: [detect-type, release]
if: needs.detect-type.outputs.is-release == 'false'
runs-on: docker
timeout-minutes: 10