CI: pushes to main no longer cancel the FreeBSD / Windows ARM64 run in progress
Merges land faster than the hour-long FreeBSD job, so every main run was cancelled and main went unverified. Only PR pushes cancel now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f08d090cd8
commit
e3873ae92f
@@ -15,7 +15,9 @@ on:
|
|||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: freebsd-${{ github.ref }}
|
group: freebsd-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
# A push to main doesn't cancel the run in progress (the newest waiting run replaces older ones),
|
||||||
|
# so main gets complete runs however often it moves; PR pushes do cancel.
|
||||||
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
@@ -21,7 +21,9 @@ on:
|
|||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: windows-arm64-${{ github.ref }}
|
group: windows-arm64-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
# A push to main doesn't cancel the run in progress (the newest waiting run replaces older ones),
|
||||||
|
# so main gets complete runs however often it moves; PR pushes do cancel.
|
||||||
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
Reference in New Issue
Block a user