Skip to content

Commit 0703e73

Browse files
committed
CI: update concurrency check
1 parent 098c026 commit 0703e73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111
# the `concurrency` settings ensure that not too many CI jobs run in parallel
1212
concurrency:
1313
# group by workflow and ref; the last slightly strange component ensures that for pull
14-
# requests, we limit to 1 concurrent job, but for the master branch we don't
15-
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }}
14+
# requests, we limit to 1 concurrent job, but for the default repository branch we don't
15+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref_name != github.event.repository.default_branch || github.run_number }}
1616
# Cancel intermediate builds, but only if it is a pull request build.
1717
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
1818

0 commit comments

Comments
 (0)