Skip to content

Commit aafabba

Browse files
marc0oloclaude
andauthored
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

File tree

‎.github/repo_policies/BOT_APPROVED_FILES‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Files the pr-automation-bot-public bot is allowed to change via automated PRs.
2+
# Each block covers what its workflow stages. Patterns are fnmatch, where `*`
3+
# also matches `/`, so a directory entry covers nested paths.
24

35
# sync-motoko: bumps the Motoko submodule and syncs generated docs
46
.sources/motoko
@@ -11,6 +13,9 @@ docs/references/internet-identity-spec.md
1113
docs/references/verifiable-credentials-spec.md
1214
public/references/internet-identity.did
1315

16+
# sync-static-site: bumps the certified-assets pin and syncs the static-site pages
17+
.sources/upstream.json
18+
docs/guides/frontends/static-site/*
19+
1420
# update-syntax-grammars: updates TextMate grammars from vscode-motoko releases
15-
syntaxes/motoko.tmLanguage.json
16-
syntaxes/candid.tmLanguage.json
21+
syntaxes/*

0 commit comments

Comments
 (0)