Repository navigation
Commit 5abceeb
authored
fix(ci): widen translations.yml path filters to match job inputs (#224)
.github/scripts/check-translation*.mjs cannot cross a path separator, so it never matched .github/scripts/lib/derived-locales.mjs -- which #216 introduced and which two of the three check-translation* scripts import. A PR editing only that shared module skipped the whole Ownership and freshness job: no freshness report, no corpus-wide output gate.
Widened to .github/scripts/**, matching what turbo.json already declares as the test task's input for that directory.
The every-filter pass the card asked for found a second gap on the push trigger: it filtered on content/docs/** alone, but only the Ownership step is gated to pull_request. Freshness, Output validator self-test and Output run on push too, reading apps/docs/lib/i18n.ts and all three scripts. Both added.
Assessed and left alone: ci.yml carries no paths filter, correctly -- its jobs' combined inputs span nearly every top-level directory, so a filter matching that footprint would be indistinguishable from none. deploy-docs.yml has no gap; every config its build touches lives under apps/docs/**, and apps/docs/tsconfig.json has no extends.
Matching proved with minimatch as an oracle rather than by eye, including negative controls. Newly-triggered paths reported and intended.
Closes #2211 parent cae6bf5 commit 5abceeb
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
14 | 24 | | |
| 25 | + | |
| 26 | + | |
15 | 27 | | |
16 | 28 | | |
17 | 29 | | |
| |||
0 commit comments