Skip to content

Commit 0a60d64

Browse files
Copilotletmaik
andauthored
Add concurrency control to cancel stale PR workflow runs (#271)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: letmaik <530988+letmaik@users.noreply.github.com> Co-authored-by: Maik Riechert <letmaik@outlook.com>
1 parent 4ed3417 commit 0a60d64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ on: [push, pull_request, workflow_dispatch]
3030

3131
permissions: read-all
3232

33+
concurrency:
34+
group: ${{ github.workflow }}-${{ github.ref }}
35+
cancel-in-progress: true
36+
3337
jobs:
3438
build:
3539
strategy:

0 commit comments

Comments
 (0)