Skip to content

Commit aec1a33

Browse files
ci: skip windows on release PRs
1 parent 8dbb3b4 commit aec1a33

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/windows.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
build:
99
name: Build
10+
# Skip on release PRs (version-only bump); reports "skipped" = passing for
11+
# the required check. See test.yml for rationale.
12+
if: ${{ !startsWith(github.head_ref, 'release/') }}
1013
runs-on: windows-latest
1114
steps:
1215
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -36,6 +39,7 @@ jobs:
3639
test:
3740
name: Test ${{ matrix.package }}
3841
needs: [build]
42+
if: ${{ !startsWith(github.head_ref, 'release/') }}
3943
strategy:
4044
fail-fast: false
4145
matrix:

0 commit comments

Comments
 (0)