Skip to content

Commit 491c5c9

Browse files
authored
Add concurrency control to cancel in-progress PR workflows (#3042)
1 parent f1261c0 commit 491c5c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
pull_request:
55
types: [opened, reopened, synchronize]
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
tests:
913
name: Test

0 commit comments

Comments
 (0)