Skip to content

Commit ed27e29

Browse files
authored
Merge pull request #5173 from arturcic/fix/cancel-stale-actions-runs
ci: cancel stale workflow runs
2 parents c8438ac + d84387d commit ed27e29

10 files changed

Lines changed: 46 additions & 0 deletions

File tree

.github/workflows/actionlint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: Actionlint
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
27
on:
38
push:
49
branches:

.github/workflows/ci.yml

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

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:

.github/workflows/codeql-analysis.yml

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

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:

.github/workflows/dependency-review.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
#
88
# Source repository: https://github.com/actions/dependency-review-action
99
name: 'Dependency Review'
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
1015
on: [pull_request]
1116

1217
permissions:

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Verify & Publish Docs
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
workflow_dispatch:
59
repository_dispatch:

.github/workflows/format.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: Code Format
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
27
on:
38
push:
49
branches:

.github/workflows/linear-pr-history.yml

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

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
pull_request:
59
branches:

.github/workflows/mkdocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: Markdown Update
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
27
on:
38
workflow_dispatch:
49
push:

.github/workflows/new-cli.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: Build (new-cli)
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
27
on:
38
push:
49
branches:

.github/workflows/scorecards.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
# policy, and support documentation.
44

55
name: Scorecard supply-chain security
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
611
on:
712
# For Branch-Protection check. Only the default branch is supported. See
813
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection

0 commit comments

Comments
 (0)