Group CI runs by ref, so pushes to different branches never cancel each other
CI / tests (pull_request) Successful in 3m20s

This commit is contained in:
2026-11-18 13:53:31 +01:00
parent 5bc69f1689
commit a638e1df73
+2 -2
View File
@@ -2,9 +2,9 @@ name: CI
on: pull_request
# A push to a pull request cancels that pull request's older runs; the merge gate reads only the head commit's status.
# The group is per pull request, so pull requests never cancel each other's runs.
# The group is the ref: refs/pull/<number>/head for a pull request, the branch for a push, so no two refs cancel each other's runs.
concurrency:
group: ci-pr-${{ github.event.pull_request.number }}
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs: