Commit aafabba
chore: allow the static-site sync in the bot file policy (#407)
## Summary
The static-site sync PR (#406) is blocked by `Check Bot Policies`:
`.github/repo_policies/BOT_APPROVED_FILES` has no entry for what
`sync-static-site.yml` stages.
- **`sync-static-site`**: adds `.sources/upstream.json` (the pin bump)
and `docs/guides/frontends/static-site/*` (the synced pages).
- **`update-syntax-grammars`**: the workflow stages `syntaxes/`
wholesale, but only two of the three files in it were listed, so a new
grammar would block the next PR. Replaced with `syntaxes/*`.
Verified every path each bot workflow stages against the fnmatch
patterns: all covered.
The checker reads this file from the default branch, not from the PR
head, so #406 stays blocked until this merges. Re-run its failed job
afterwards.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 2abe4e5 commit aafabba
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | | - | |
16 | | - | |
| 21 | + | |
0 commit comments