Conversation
marc0olo
added a commit
that referenced
this pull request
May 5, 2026
Covers all files changed by the two automated workflows: - sync-motoko: .sources/motoko, .sources/VERSIONS, docs/languages/motoko/* - update-syntax-grammars: syntaxes/*.tmLanguage.json Required by the External PR Ruleset (dfinity/public-workflows check_bot_approved_files.py) which blocked the v1.7.0 Motoko sync PR (#201) with a 404 on this missing file.
Member
|
the warning was handled in #185 and was fixed by the Motoko team already. |
marc0olo
added a commit
that referenced
this pull request
May 5, 2026
…ub App (#202) ## Summary Applies the same bot-token migration from #197 (\`sync-motoko\`) to the \`Update syntax grammars\` workflow, and adds the missing \`BOT_APPROVED_FILES\` policy that was needed for both workflows (the absence of this file caused the External PR Ruleset to block #201). **\`update-syntax-grammars\` changes:** - Remove workflow-level \`permissions: contents: write / pull-requests: write\` - Add \`actions/create-github-app-token\` step (same pin as #197: \`1b10c78c\`, v3.1.1) using \`vars.PR_AUTOMATION_BOT_PUBLIC_CLIENT_ID\` and \`secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY\` - Replace all three \`\${{ github.token }}\` usages with \`\${{ steps.app-token.outputs.token }}\` - Update git identity from \`github-actions[bot]\` to \`pr-automation-bot-public[bot]\` - \`git push\` retains implicit checkout credentials (no explicit token needed — same rationale as the fix commit in #197) **\`.github/repo_policies/BOT_APPROVED_FILES\` (new):** - \`sync-motoko\`: \`.sources/motoko\`, \`.sources/VERSIONS\`, \`docs/languages/motoko/*\` - \`update-syntax-grammars\`: \`syntaxes/motoko.tmLanguage.json\`, \`syntaxes/candid.tmLanguage.json\` After this PR merges, #201 will need a re-run of the \`External PR Ruleset\` check to pass. ## Sync recommendation \`hand-written\`
marc0olo
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Automated bump of
.sources/motokofromv1.6.0tov1.7.0.npm run sync:motoko— synced docs from the new releaseChecklist
Sync recommendation
sync from caffeinelabs/motoko doc/md