Skip to content

Commit 5f75e43

Browse files
committed
chore: Use pull request number for workflow concurrency groups.
1 parent ccb32d3 commit 5f75e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- reopened
1111

1212
concurrency:
13-
group: ${{ github.workflow }}-${{ github.ref }}
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1414
cancel-in-progress: true
1515

1616
jobs:

0 commit comments

Comments
 (0)