Skip to content

Commit 8a996f1

Browse files
committed
cancel jobs for concurrent builds in same PR
1 parent 519f531 commit 8a996f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Json2xml
22

33
on: [push]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
build:
711
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)