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 1acbe6c commit 3185e61Copy full SHA for 3185e61
.github/workflows/ci.yml
@@ -1,6 +1,12 @@
1
name: CI
2
env:
3
JULIA_NUM_THREADS: 2
4
+concurrency:
5
+ # group by workflow and ref; the last slightly strange component ensures that for pull
6
+ # requests, we limit to 1 concurrent job, but for the master branch we don't
7
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main') || github.run_number }}
8
+ # Cancel intermediate builds, but only if it is a pull request build.
9
+ cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
10
on:
11
pull_request:
12
branches:
0 commit comments