Skip to content

Write HTML. Render video. Built for agents.

ci: skip Windows runs for player and Studio UI-only changes (#4442)

Miguel Ángel1f0cfa7c3ebe
diff --git a/.github/workflows/windows-render.yml b/.github/workflows/windows-render.yml
index 323ca8a975..251ef1878a 100644
--- a/.github/workflows/windows-render.yml
+++ b/.github/workflows/windows-render.yml
@@ -55,13 +55,15 @@ jobs:
id: filter
with:
token: ""
+ # A file counts only if it matches every pattern. Player and Studio `src/` run in a browser
+ # and no code reads a package README, so a diff confined to them skips Windows.
+ predicate-quantifier: every
filters: |
code:
- - "packages/**"
- - "scripts/**"
- - "package.json"
- - "bun.lock"
- - ".github/workflows/windows-render.yml"
+ - "{packages/**,scripts/**,package.json,bun.lock,.github/workflows/windows-render.yml}"
+ - "!packages/player/src/**"
+ - "!packages/studio/src/**"
+ - "!packages/*/README.md"
preflight:
name: Preflight (lint + format)