Skip to content

chore: bump Motoko to v1.7.0#201

Merged
marc0olo merged 1 commit intomainfrom
infra/bump-motoko-v1.7.0
May 5, 2026
Merged

chore: bump Motoko to v1.7.0#201
marc0olo merged 1 commit intomainfrom
infra/bump-motoko-v1.7.0

Conversation

@pr-automation-bot-public
Copy link
Copy Markdown
Contributor

Summary

Automated bump of .sources/motoko from v1.6.0 to v1.7.0.

  • Ran npm run sync:motoko — synced docs from the new release
  • Build passed ✓

⚠️ Warnings — manual review required

  • FILE-EMBED EMPTY: ../examples/todo-error.mo#L60-L60 in docs/languages/motoko/fundamentals/error-handling.md — line range resolved to empty content (upstream off-by-one?)

Checklist

  • Review synced content for breaking changes
  • Check release notes for API or syntax changes that affect hand-written docs
  • Verify any new sections or renamed files are handled correctly

Sync recommendation

sync from caffeinelabs/motoko doc/md

@pr-automation-bot-public pr-automation-bot-public Bot requested a review from a team as a code owner May 5, 2026 16:39
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.
@marc0olo
Copy link
Copy Markdown
Member

marc0olo commented May 5, 2026

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 marc0olo merged commit 663c44b into main May 5, 2026
11 of 12 checks passed
@marc0olo marc0olo deleted the infra/bump-motoko-v1.7.0 branch May 5, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant