Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

Commit 157bd76

Browse files
committed
ci: cancel PR actions on new commits
1 parent 4bbd1ab commit 157bd76

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/push.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
pull_request:
88
workflow_dispatch:
99

10+
# Cancel PR actions on new commits
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
13+
cancel-in-progress: true
14+
1015
env:
1116
# For setup-rust, see https://github.com/moonrepo/setup-rust/issues/22
1217
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)