Skip to content

Commit 4124840

Browse files
committed
cancel duplicate runs
1 parent 67fe7df commit 4124840

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.github/workflows/check-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
pull_request:
66
branches: ["*"]
77

8+
concurrency:
9+
group: check-release-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
check_release:
1014
runs-on: ubuntu-latest

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: "*"
88

9+
concurrency:
10+
group: ci-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
1115
runs-on: ${{ matrix.os }}-latest

.github/workflows/downstream.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: "*"
88

9+
concurrency:
10+
group: downstream-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
downstream1:
1115
runs-on: ubuntu-latest

.github/workflows/enforce-label.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Enforce PR label
22

3+
concurrency:
4+
group: label-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
pull_request:
59
types: [labeled, unlabeled, opened, edited, synchronize]

0 commit comments

Comments
 (0)