Skip to content

Commit 3bf3d11

Browse files
chore(ci): add concurrency blocks (#1857)
1 parent 1eb42e6 commit 3bf3d11

6 files changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/ci-bun.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+
# Automatically cancel in-progress actions on the same branch
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
1217
permissions: {}
1318

1419
jobs:

.github/workflows/ci-legacy-5.0.4.yml

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

14+
# Automatically cancel in-progress actions on the same branch
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
17+
cancel-in-progress: true
18+
1419
permissions: {}
1520

1621
jobs:

.github/workflows/ci-legacy-latest.yml

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

14+
# Automatically cancel in-progress actions on the same branch
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
17+
cancel-in-progress: true
18+
1419
permissions: {}
1520

1621
jobs:

.github/workflows/ci.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+
# Automatically cancel in-progress actions on the same branch
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
1217
permissions: {}
1318

1419
jobs:

.github/workflows/integration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ on:
1414
tags:
1515
- '!**'
1616

17+
# Automatically cancel in-progress actions on the same branch
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
20+
cancel-in-progress: true
21+
1722
permissions: {}
1823

1924
jobs:

.github/workflows/markdown-link-check.yml

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

10+
# Automatically cancel in-progress actions on the same branch
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
1015
permissions: {}
1116

1217
jobs:

0 commit comments

Comments
 (0)