Commit e621a7f
ci(audience-sdk): scope path filters to source-affecting paths only (SDK-268)
Replaces the blanket src/Packages/Audience/** and examples/audience/**
match with explicit allow-lists, so doc-only PRs (README.md, gitignore,
etc.) no longer schedule the 12-cell PlayMode matrix or the .NET unit
tests.
Triggers now require a change to one of:
- src/Packages/Audience/Runtime/**
- src/Packages/Audience/Tests/**
- src/Packages/Audience/package.json
- src/Packages/Audience/Directory.Build.props
- src/Packages/Audience/link.xml (IL2CPP stripping config)
- examples/audience/Assets/** (sample-app workflow only)
- examples/audience/Packages/** (sample-app workflow only)
- examples/audience/ProjectSettings/** (sample-app workflow only)
- the workflow file itself
paths-ignore is not viable here: it only suppresses a workflow when
every changed file matches the ignore list, so a mixed PR (markdown +
package.json) would still trigger. Allow-listing is the only filter
shape that handles this correctly.
package.json stays in the trigger because real version, dependency,
and unity-minimum changes live there and the matrix is exactly what
should catch a typo. The cost of running on a metadata-only edit is
the price of treating package.json as load-bearing.
link.xml is included because it controls which managed types survive
IL2CPP stripping in Player builds. A change there can produce
runtime-only failures that only the PlayMode matrix can catch.
Linear: SDK-268
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 41ffc5b commit e621a7f
2 files changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
11 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
| |||
0 commit comments