Skip to content

Commit f248b98

Browse files
committed
Cancel running CI job if PR is updated.
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent 8da4208 commit f248b98

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
- /^support\/.*$/
2525
- /^ci\/.*$/
2626

27+
concurrency:
28+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
29+
cancel-in-progress: true
30+
2731
jobs:
2832
Testme:
2933
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)