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 <[email protected]>
This commit is contained in:
IvanandClaude Opus 5.5 committed 2026-10-14 20:29:16 +03:00
1 parent f0f0d6f58a
commit 691a022b12
1 file changed
+1 -1
+1 -1
View File
@@ -201,7 +201,7 @@ jobs:
windows-gate:
name: test (windows-latest)
needs: [platforms, test]
if: always()
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
steps:
- env: