Skip to content

Commit 5169202

Browse files
authored
Merge pull request #9630 from Fryguy/concurrent_cancel
Auto-cancel in-progress CI builds for branches and PRs
2 parents 7a5fabd + 55fa9e1 commit 5169202

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ on:
66
branches-ignore:
77
- renovate/*
88
- dependabot/*
9-
workflow_dispatch:
109
schedule:
1110
- cron: 0 0 * * *
11+
workflow_dispatch:
12+
concurrency:
13+
group: "${{ github.workflow }}-${{ github.ref }}"
14+
cancel-in-progress: true
1215
jobs:
1316
ci:
1417
runs-on: ubuntu-latest

.github/workflows/cypress.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ on:
66
branches-ignore:
77
- renovate/*
88
- dependabot/*
9-
workflow_dispatch:
109
schedule:
1110
- cron: 0 0 * * 0
11+
workflow_dispatch:
12+
concurrency:
13+
group: "${{ github.workflow }}-${{ github.ref }}"
14+
cancel-in-progress: true
1215
jobs:
1316
cypress:
1417
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)