Skip to content

Commit 9eef89c

Browse files
committed
Cancel running GH action on update of PR branch
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent dc945f9 commit 9eef89c

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
@@ -12,6 +12,10 @@ on:
1212
- develop
1313
- /^release\/.*$/
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
17+
cancel-in-progress: true
18+
1519
jobs:
1620
Docs:
1721
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)