diff --git a/.gitea/workflows/post-merge.yml b/.gitea/workflows/post-merge.yml index 1d588fc..54c9c23 100644 --- a/.gitea/workflows/post-merge.yml +++ b/.gitea/workflows/post-merge.yml @@ -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 diff --git a/.taskid b/.taskid index 80e0979..6982931 100644 --- a/.taskid +++ b/.taskid @@ -1 +1 @@ -DEVX-1 +DEVX-2