Skip to content

Commit 45a96eb

Browse files
committed
Add concurrency control to cancel in-progress PR workflows
1 parent 88a8900 commit 45a96eb

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
@@ -3,6 +3,10 @@ name: Pull request
33
on:
44
pull_request:
55
types: [opened, reopened, synchronize]
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
610

711
jobs:
812
tests:

0 commit comments

Comments
 (0)