ci: add update-rust-toolchain workflow and BOT_APPROVED_FILES#573
Merged
Conversation
Copies update-rust-toolchain.yml 1:1 from the icp-cli-network-launcher repo. Adds BOT_APPROVED_FILES listing the files that bump-network-launcher.yml and update-rust-toolchain.yml are allowed to modify, which is required by the Check Bot Policies CI job. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
marc0olo
approved these changes
May 26, 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
update-rust-toolchain.yml(copied 1:1 from the icp-cli-network-launcher repo). Runs weekly and opens a PR bumpingrust-toolchain.tomlwhen a new stable Rust release is ≥14 days old..github/repo_policies/BOT_APPROVED_FILESlisting the files that bot-authored PRs are allowed to modify:network-launcher-version→ forbump-network-launcher.ymlrust-toolchain.toml→ for the newupdate-rust-toolchain.ymlThe missing
BOT_APPROVED_FILESis what caused thecheck-repo-policies / Check Bot Policiesjob to fail on #572.Test plan
Check Bot PoliciespassesUpdate Rust Toolchainonce to confirm the workflow opens a PR end-to-end (or wait for the next Monday 09:00 UTC cron)🤖 Generated with Claude Code