Public Access
DEVX-2: fix: make sync-wiki and vikunja depend on release
This commit is contained in:
@@ -7,10 +7,15 @@ name: Post-merge
|
|||||||
# Job dependency graph:
|
# Job dependency graph:
|
||||||
#
|
#
|
||||||
# detect-type ──┬── release (skip if release commit)
|
# detect-type ──┬── release (skip if release commit)
|
||||||
# ├── sync-wiki (skip if release commit)
|
|
||||||
# ├── badges (ALWAYS runs — even on release commits)
|
# ├── badges (ALWAYS runs — even on release commits)
|
||||||
# ├── vikunja (skip if release commit)
|
# ├── configure-repo (independent — skip if release commit)
|
||||||
# └── configure-repo (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
|
# 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
|
# number. It uses `if: always()` with no is-release condition so it
|
||||||
@@ -106,7 +111,7 @@ jobs:
|
|||||||
--commit "${{ github.sha }}"
|
--commit "${{ github.sha }}"
|
||||||
|
|
||||||
sync-wiki:
|
sync-wiki:
|
||||||
needs: [detect-type]
|
needs: [detect-type, release]
|
||||||
if: needs.detect-type.outputs.is-release == 'false'
|
if: needs.detect-type.outputs.is-release == 'false'
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
@@ -173,7 +178,7 @@ jobs:
|
|||||||
--commit "${{ github.sha }}"
|
--commit "${{ github.sha }}"
|
||||||
|
|
||||||
vikunja:
|
vikunja:
|
||||||
needs: [detect-type]
|
needs: [detect-type, release]
|
||||||
if: needs.detect-type.outputs.is-release == 'false'
|
if: needs.detect-type.outputs.is-release == 'false'
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user