mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-16 20:29:42 +02:00
CI: skip the test (windows-latest) gate in cancelled runs
With always() the gate also ran when a newer push cancelled the run, taking a runner slot only to report a red check on the superseded commit. !cancelled() still runs it when a test leg fails (a skipped required check would count as passing), but not in a cancelled run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f0f0d6f58a
commit
691a022b12
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -201,7 +201,7 @@ jobs:
|
|||
windows-gate:
|
||||
name: test (windows-latest)
|
||||
needs: [platforms, test]
|
||||
if: always()
|
||||
if: ${{ !cancelled() }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- env:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user