mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +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
12e34e7037
commit
dc852f8226
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
- master
|
- master
|
||||||
concurrency:
|
concurrency:
|
||||||
# Cancels pending runs when a PR gets updated.
|
# 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
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
x86_64-linux-debug:
|
x86_64-linux-debug:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user