Skip to content

Commit 30a64fd

Browse files
authored
[ci] Cancel outstanding workflows when new changes are added to PRs (#513)
1 parent 62c3d46 commit 30a64fd

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
@@ -10,6 +10,10 @@ on:
1010
pull_request:
1111
workflow_dispatch:
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
build:
1519
name: Build ${{ matrix.artifact }}

0 commit comments

Comments
 (0)