Skip to content

Commit e9097dc

Browse files
harden(ci): concurrency-cancel guard on canonical check workflows (#28)
Redistributes merged standards#122. Adds `concurrency{cancel-in-progress:true}` to read-only check workflows (governance.yml codeql.yml) and scopes affinescript-verify push where present. Zero check coverage lost; read-only workflows only. 🤖 estate sweep Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9235bbd commit e9097dc

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ on:
1111
schedule:
1212
- cron: '42 20 * * 0'
1313

14+
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
15+
# updates do not pile up queued runs against the shared account-wide
16+
# Actions concurrency pool. Applied only to read-only check workflows
17+
# (no publish/mutation), so cancelling a superseded run is always safe.
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
1422
permissions: read-all
1523

1624
jobs:

.github/workflows/governance.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ on:
1818
pull_request:
1919
workflow_dispatch:
2020

21+
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
22+
# updates do not pile up queued runs against the shared account-wide
23+
# Actions concurrency pool. Applied only to read-only check workflows
24+
# (no publish/mutation), so cancelling a superseded run is always safe.
25+
concurrency:
26+
group: ${{ github.workflow }}-${{ github.ref }}
27+
cancel-in-progress: true
28+
2129
permissions:
2230
contents: read
2331

0 commit comments

Comments
 (0)