Skip to content

Commit ffe92b7

Browse files
authored
Merge pull request datalad#7601 from jwodder/concurrency
Cancel lengthy running workflows if a new commit is pushed
2 parents fda2048 + 8d2fe0f commit ffe92b7

File tree

5 files changed

+19
-0
lines changed

5 files changed

+19
-0
lines changed

.github/workflows/benchmarks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Benchmarks
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
7+
cancel-in-progress: true
8+
59
jobs:
610
vs-master:
711

.github/workflows/test_crippled.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: CrippledFS
22

33
on: [pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
7+
cancel-in-progress: true
8+
59
jobs:
610
test:
711

.github/workflows/test_extensions.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Extensions
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
7+
cancel-in-progress: true
8+
59
jobs:
610
test:
711

.github/workflows/test_macos.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
- pull_request
55
- push
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
9+
cancel-in-progress: true
10+
711
jobs:
812
test:
913
runs-on: macos-latest

changelog.d/pr-7601.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### 🧪 Tests
2+
3+
- Cancel lengthy running workflows if a new commit is pushed. [PR #7601](https://github.com/datalad/datalad/pull/7601) (by [@jwodder](https://github.com/jwodder))

0 commit comments

Comments
 (0)