fix(ci): use shared concurrency group for master push events (#4479)
The concurrency group used github.sha for push events, giving each merge its own group. Back-to-back merges queued multiple full CI runs that never cancelled each other, exhausting runner capacity. Use a fixed 'push-master' group so only the latest push to master runs CI — older runs are cancelled automatically.
This commit is contained in:
parent
e7a705ba50
commit
8f2b06b729
2
.github/workflows/ci-run.yml
vendored
2
.github/workflows/ci-run.yml
vendored
@ -7,7 +7,7 @@ on:
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: ci-${{ github.event.pull_request.number || github.sha }}
|
||||
group: ci-${{ github.event.pull_request.number || 'push-master' }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user