Skip to content

Commit aba7e2c

Browse files
committed
cancel tests on new commit
1 parent edd5ee8 commit aba7e2c

File tree

6 files changed

+32
-0
lines changed

6 files changed

+32
-0
lines changed

.github/workflows/cloud_evals.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: cloud_evals
22

3+
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6+
cancel-in-progress: true
7+
38
on:
49
push:
510
branches:

.github/workflows/docker.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: docker
22

3+
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6+
cancel-in-progress: true
7+
38
on:
49
push:
510
release:

.github/workflows/lint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
name: lint
2+
3+
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6+
cancel-in-progress: true
7+
28
on:
39
push:
410
branches:

.github/workflows/package.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
name: package
2+
3+
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6+
cancel-in-progress: true
7+
28
on:
39
push:
410
branches:

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
name: publish
1010

11+
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: true
15+
1116
on:
1217
release:
1318
types: [published] # publish full release to PyPI when a release is created on Github

.github/workflows/test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ permissions:
77
statuses: write # Allow writing statuses on PRs
88
discussions: write
99

10+
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
1015
on:
1116
push:
1217
branches:

0 commit comments

Comments
 (0)