Skip to content

Commit fc4c578

Browse files
authored
ci: Add back concurrency to cancel in-progress PR commits
1 parent 43fc5c5 commit fc4c578

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
- '*'
1111
pull_request:
1212

13+
# Cancel previous PR branch commits (head_ref is only defined on PRs)
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
16+
cancel-in-progress: true
17+
1318
env:
1419
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
1520

0 commit comments

Comments
 (0)