Skip to content

ci: add update-rust-toolchain workflow and BOT_APPROVED_FILES#573

Merged
lwshang merged 1 commit into
mainfrom
lwshang/ci_bot
May 26, 2026
Merged

ci: add update-rust-toolchain workflow and BOT_APPROVED_FILES#573
lwshang merged 1 commit into
mainfrom
lwshang/ci_bot

Conversation

@lwshang
Copy link
Copy Markdown
Contributor

@lwshang lwshang commented May 26, 2026

Summary

  • Add update-rust-toolchain.yml (copied 1:1 from the icp-cli-network-launcher repo). Runs weekly and opens a PR bumping rust-toolchain.toml when a new stable Rust release is ≥14 days old.
  • Add .github/repo_policies/BOT_APPROVED_FILES listing the files that bot-authored PRs are allowed to modify:
    • network-launcher-version → for bump-network-launcher.yml
    • rust-toolchain.toml → for the new update-rust-toolchain.yml

The missing BOT_APPROVED_FILES is what caused the check-repo-policies / Check Bot Policies job to fail on #572.

Test plan

🤖 Generated with Claude Code

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>
@lwshang lwshang marked this pull request as ready for review May 26, 2026 15:07
@lwshang lwshang requested a review from a team as a code owner May 26, 2026 15:07
@lwshang lwshang enabled auto-merge (squash) May 26, 2026 15:07
@lwshang lwshang merged commit def7ac1 into main May 26, 2026
152 of 154 checks passed
@lwshang lwshang deleted the lwshang/ci_bot branch May 26, 2026 16:46
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.

2 participants