There was an error while loading. Please reload this page.
1 parent b73c2e2 commit 1adca67Copy full SHA for 1adca67
1 file changed
.github/workflows/test.yml
@@ -1,6 +1,9 @@
1
name: test
2
concurrency:
3
- group: test-${{ github.github.base_ref }}
+ # `github.head_ref` is the source branch on pull_request and empty on push, where
4
+ # `github.ref` takes over. Grouping per branch is what keeps a new push to one PR
5
+ # from cancelling an unrelated PR's in-flight run.
6
+ group: test-${{ github.head_ref || github.ref }}
7
cancel-in-progress: true
8
on:
9
push:
0 commit comments