Skip to content

Commit ab40df0

Browse files
committed
CI: Add concurrency control snippets where they have been missing
1 parent 1087739 commit ab40df0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/release-app.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
tags:
1010
- '*'
1111

12+
# Cancel in-progress jobs when pushing to the same branch.
13+
concurrency:
14+
cancel-in-progress: true
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
1217
jobs:
1318

1419
cfr:

.github/workflows/release-pypi.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
tags:
77
- '*.*.*'
88

9+
# Cancel in-progress jobs when pushing to the same branch.
10+
concurrency:
11+
cancel-in-progress: true
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
914
jobs:
1015
build-and-publish:
1116
name: Build & publish package to PyPI

0 commit comments

Comments
 (0)