We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ea564 commit 2f73ddbCopy full SHA for 2f73ddb
1 file changed
.github/workflows/CI.yml
@@ -8,9 +8,13 @@ on:
8
# Every weekday at 01:30 AM UTC
9
- cron: '30 1 * * 1-5'
10
11
-#concurrency:
12
-# group: ${{ github.workflow }}-${{ github.ref }}
13
-# cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
+# the `concurrency` settings ensure that not too many CI jobs run in parallel
+concurrency:
+ # 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 }}
16
+ # Cancel intermediate builds, but only if it is a pull request build.
17
+ cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
18
19
jobs:
20
test:
0 commit comments