Skip to content

Commit 335e3d2

Browse files
authored
Merge pull request #1283 from mulkieran/cancel-outdated-test-runs
Cancel outdated test runs
2 parents 4fd4992 + b98cd8b commit 335e3d2

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/dummy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111

1212
workflow_dispatch:
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
dummy:
1620
runs-on: ubuntu-latest

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ on:
2121
- 'docs/**'
2222
- '.packit.yaml'
2323

24-
# Allows you to run this workflow manually from the Actions tab
2524
workflow_dispatch:
2625

26+
concurrency:
27+
group: ${{ github.workflow }}-${{ github.ref }}
28+
cancel-in-progress: true
29+
2730
jobs:
2831
python-checks:
2932
strategy:

.github/workflows/support.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ on:
2121
- 'docs/**'
2222
- 'shell-completion/**'
2323

24-
# Allows you to run this workflow manually from the Actions tab
2524
workflow_dispatch:
2625

26+
concurrency:
27+
group: ${{ github.workflow }}-${{ github.ref }}
28+
cancel-in-progress: true
29+
2730
jobs:
2831
python-checks:
2932
strategy:

0 commit comments

Comments
 (0)