From c4fd4cb1c9bd1232b13abbb1dedd7d2564288a8a Mon Sep 17 00:00:00 2001 From: emil Date: Mon, 22 Jun 2026 19:12:06 +0200 Subject: [PATCH] fix: make sync-wiki and vikunja depend on release sync-wiki and vikunja now depend on release succeeding, so 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. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .gitea/workflows/post-merge.yml | 15 ++++++++++----- .taskid | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) 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 -- 2.54.0