Skip to content

Commit a7a3a0a

Browse files
authored
Cancel CI workflow if new changes are pushed (#175)
Signed-off-by: Andrew Helwer <[email protected]>
1 parent 56f33ef commit a7a3a0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
branches: [main]
55
push:
66
branches: [main]
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
710
jobs:
811
test:
912
name: Build & Test

0 commit comments

Comments
 (0)