mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
CI: adjust logic for cancelling workflows
This prevents clobbering when two contributors' PRs have the same head ref.
This commit is contained in:
parent
033dcf7811
commit
290874a24e
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
|
@ -6,7 +6,7 @@ on:
|
|||
- master
|
||||
concurrency:
|
||||
# Cancels pending runs when a PR gets updated.
|
||||
group: ${{ github.head_ref || github.run_id }}
|
||||
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
x86_64-linux-debug:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue