We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9800499 commit 167b518Copy full SHA for 167b518
.github/workflows/CI.yml
@@ -9,8 +9,8 @@ on:
9
10
concurrency:
11
# group by workflow and ref; the last slightly strange component ensures that for pull
12
- # requests, we limit to 1 concurrent job, but for the master branch we don't
13
- group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }}
+ # requests, we limit to 1 concurrent job, but for the default repository branch we don't
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref_name != github.event.repository.default_branch || github.run_number }}
14
# Cancel intermediate builds, but only if it is a pull request build.
15
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
16
0 commit comments