Skip to content

Commit 538957c

Browse files
ci: concurrency + timeout-minutes on 3 queue-saturating workflows (#248)
Same pattern as proven#115. Targets the 3 workflows on this repo lacking \`concurrency:\` (rust-ci, boj-build, instant-sync). Reduces queue pressure against the GitHub Pro 40-job concurrent ceiling. Other workflows on this repo (abi-verify, codeql, coq-build, scorecard-enforcer, hypatia-scan, secret-scanner) already had concurrency declarations. Note: uncommitted parallel-session changes in formal/ are NOT included in this PR (per estate parallel-session git defence). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f8cd174 commit 538957c

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/boj-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ on:
44
push:
55
branches: [main, master]
66
workflow_dispatch:
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
710
jobs:
811
trigger-boj:
912
runs-on: ubuntu-latest
13+
timeout-minutes: 5
1014
steps:
1115
- name: Checkout
1216
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/instant-sync.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,14 @@ on:
1111
permissions:
1212
contents: read
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
dispatch:
1620
runs-on: ubuntu-latest
21+
timeout-minutes: 5
1722
steps:
1823
- name: Trigger Propagation
1924
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v3

.github/workflows/rust-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,18 @@ on:
1212
permissions:
1313
contents: read
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1519
jobs:
1620
rust-ci:
1721
uses: hyperpolymath/standards/.github/workflows/rust-ci-reusable.yml@cc5a372af1af1b202c17f1b21efd954e6c038bef
1822

1923
no-default-features:
2024
name: Cargo build + test (ephapax-cli, --no-default-features)
2125
runs-on: ubuntu-latest
26+
timeout-minutes: 20
2227
if: hashFiles('Cargo.toml') != ''
2328

2429
# Proves ephapax can be built and tested with zero git dep on the

0 commit comments

Comments
 (0)