Skip to content

Commit 443bf0c

Browse files
committed
Cancel in-progress CI runs when pushing
1 parent 5436588 commit 443bf0c

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/js-build.yml

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

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
1115
name: Build and verify

.github/workflows/tests.yml

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

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
tests:
1115
name: Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)