diff --git a/.mokogit/workflows/deploy-dev.yml b/.mokogit/workflows/deploy-dev.yml index ecb1056..1d983a7 100644 --- a/.mokogit/workflows/deploy-dev.yml +++ b/.mokogit/workflows/deploy-dev.yml @@ -30,13 +30,9 @@ on: # Runs on the ref it is dispatched from. workflow_dispatch: -# NOTE: no `concurrency:` block. MokoGIT (the Gitea fork these repos run on) fails -# to CREATE a run for any workflow that declares concurrency — push AND -# workflow_dispatch return 204 but create nothing. Verified empirically across -# repos: commits WITH a concurrency block produced zero deploy runs; without one -# they ran normally (a fresh group name did not help). Keep this omitted until the -# MokoGIT concurrency bug is fixed, otherwise every synced repo's deploys silently -# stop firing. +concurrency: + group: deploy-dev + cancel-in-progress: true env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true diff --git a/.mokogit/workflows/deploy-prod.yml b/.mokogit/workflows/deploy-prod.yml index 1dbf277..4299b40 100644 --- a/.mokogit/workflows/deploy-prod.yml +++ b/.mokogit/workflows/deploy-prod.yml @@ -30,13 +30,9 @@ on: # Runs on the ref it is dispatched from (use main). workflow_dispatch: -# NOTE: no `concurrency:` block. MokoGIT (the Gitea fork these repos run on) fails -# to CREATE a run for any workflow that declares concurrency — push AND -# workflow_dispatch return 204 but create nothing. Verified empirically across -# repos: commits WITH a concurrency block produced zero deploy runs; without one -# they ran normally (a fresh group name did not help). Keep this omitted until the -# MokoGIT concurrency bug is fixed, otherwise every synced repo's deploys silently -# stop firing. +concurrency: + group: deploy-prod + cancel-in-progress: false env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true diff --git a/.mokogit/workflows/deploy-rc.yml b/.mokogit/workflows/deploy-rc.yml index 644a1a9..26bda39 100644 --- a/.mokogit/workflows/deploy-rc.yml +++ b/.mokogit/workflows/deploy-rc.yml @@ -32,13 +32,9 @@ on: # newer DB. Dispatch from `rc` once `rc` is current. workflow_dispatch: -# NOTE: no `concurrency:` block. MokoGIT (the Gitea fork these repos run on) fails -# to CREATE a run for any workflow that declares concurrency — push AND -# workflow_dispatch return 204 but create nothing. Verified empirically across -# repos: commits WITH a concurrency block produced zero deploy runs; without one -# they ran normally (a fresh group name did not help). Keep this omitted until the -# MokoGIT concurrency bug is fixed, otherwise every synced repo's deploys silently -# stop firing. +concurrency: + group: deploy-rc + cancel-in-progress: true env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true