Skip to content

Commit 88e901e

Browse files
authored
Merge pull request #651 from bwlang/cancel_same_branch_actions
only build the most recent commit on a branch
2 parents 3cddcad + 48c4b20 commit 88e901e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ on:
33
pull_request:
44
branches:
55
- master
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
10+
611
jobs:
712
build:
813
strategy:

0 commit comments

Comments
 (0)