Skip to content

Commit 0d3fb05

Browse files
committed
CI: Cancel redundant in-progress workflow runs
1 parent 03b0973 commit 0d3fb05

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
pull_request:
77
branches: master
88

9+
# Cancel redundant in-progress workflow runs.
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
914
jobs:
1015
test:
1116
name: ${{ matrix.CONDA_ENV }}-pytest

0 commit comments

Comments
 (0)