Skip to content

Commit a51f599

Browse files
authored
🤖 ci: skip Windows build on PR, keep in merge queue (#1074)
Windows builds are slow (~3-4 min). This skips them on regular PR pushes but keeps them running in the merge queue to catch platform-specific issues before merging to main. **Change:** Modified `build-windows` job condition to only run on `merge_group` events (same pattern as `smoke-docker`). _Generated with `mux`_
1 parent cae2563 commit a51f599

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@ jobs:
285285
build-windows:
286286
name: Build / Windows
287287
needs: [changes]
288-
if: ${{ needs.changes.outputs.src == 'true' || needs.changes.outputs.config == 'true' }}
288+
# Windows builds are slow - only run in merge queue, not on every PR push
289+
if: ${{ github.event_name == 'merge_group' && (needs.changes.outputs.src == 'true' || needs.changes.outputs.config == 'true') }}
289290
runs-on: windows-latest
290291
steps:
291292
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)