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 66c0584 commit 6a8dbb4Copy full SHA for 6a8dbb4
.github/workflows/ci.yml
@@ -4,6 +4,14 @@ on:
4
branches: [master, main]
5
tags: ["*"]
6
pull_request:
7
+
8
+concurrency:
9
+ # group by workflow and ref; the last slightly strange component ensures that for pull
10
+ # requests, we limit to 1 concurrent job, but for the master branch we don't
11
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }}
12
+ # Cancel intermediate builds, but only if it is a pull request build.
13
+ cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
14
15
env:
16
PYTHON: ~
17
jobs:
0 commit comments