Skip to content

Commit e4cd81a

Browse files
harden(ci): concurrency-cancel guard on canonical check workflows (#6)
Redistributes the merged hyperpolymath/standards#122 canonical fix: adds concurrency{cancel-in-progress:true} to read-only check workflows (and scopes affinescript-verify push to [main,master]) so re-pushes / rebased PRs do not pile up queued runs against the shared account-wide Actions concurrency pool. Read-only checks only; zero coverage lost. Files: scorecard.yml codeql.yml Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 60e9496 commit e4cd81a

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
@@ -5,6 +5,14 @@ name: CodeQL Security Analysis
55
on:
66
workflow_dispatch: # Manual trigger only
77

8+
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
9+
# updates do not pile up queued runs against the shared account-wide
10+
# Actions concurrency pool. Applied only to read-only check workflows
11+
# (no publish/mutation), so cancelling a superseded run is always safe.
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
816
permissions: read-all
917

1018
jobs:

.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ on:
66
schedule:
77
- cron: '0 4 * * 0'
88

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

1119
jobs:

0 commit comments

Comments
 (0)