Skip to content

Commit 701d991

Browse files
committed
chore(ci): cancel in progress GHA runs
1 parent 84fb13e commit 701d991

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
lint:
1010
name: 'Lint'
1111
runs-on: ubuntu-latest
12+
concurrency:
13+
group: ${{ github.event_name }}-${{ github.head_ref || github.ref_name }}
14+
cancel-in-progress: true
1215
steps:
1316
- name: Checkout
1417
uses: actions/checkout@v4
@@ -39,6 +42,9 @@ jobs:
3942
name: 'Build + Release'
4043
needs: [lint]
4144
runs-on: ubuntu-latest
45+
concurrency:
46+
group: ${{ github.event_name }}-${{ github.head_ref || github.ref_name }}
47+
cancel-in-progress: true
4248
steps:
4349
- name: Checkout
4450
uses: actions/checkout@v4

0 commit comments

Comments
 (0)