Skip to content

Commit 89ed56e

Browse files
CI: Cancel previous workflow runs on PRs
1 parent edabb97 commit 89ed56e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
pull_request:
44
push:
55
branches: [main]
6+
concurrency:
7+
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
8+
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
69
jobs:
710
test:
811
name: Build and Test

0 commit comments

Comments
 (0)