Skip to content

Commit c793919

Browse files
Cancel in-progress CI jobs for the same branch
1 parent d9f3e4d commit c793919

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
pull_request:
1616
branches: [ main ]
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
1822
jobs:
1923
cpp_build:
2024
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)