Skip to content

Commit 17bd476

Browse files
committed
Disable concurrent runs
1 parent 9ba7d53 commit 17bd476

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/pull_request.yml

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ name: Pull request checks
44
on:
55
pull_request:
66
branches: [ github-actions ]
7+
8+
# Disallow concurrent runs for the same PR by cancelling in-progress runs
9+
# when new commits are pushed
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
714
jobs:
815
build:
916
name: Build

0 commit comments

Comments
 (0)