Use ASF-allowlisted dtolnay/rust-toolchain revision in setup-native-build - #4851
Merged
StevenLuMT merged 1 commit intoJul 29, 2026
Conversation
StevenLuMT
requested review from
Copilot,
eolivelli,
hezhangjian,
lhotari and
zymap
and removed request for
lhotari
July 29, 2026 06:52
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Updates the setup-native-build composite action to use the ASF-allowlisted dtolnay/rust-toolchain revision so CI workflows stop failing due to GitHub Actions allowlist enforcement.
Changes:
- Bumps
dtolnay/rust-toolchainpinned SHA in thesetup-native-buildcomposite action to the ASF-allowlisted revision.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
hezhangjian
approved these changes
Jul 29, 2026
zymap
approved these changes
Jul 29, 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.
Motivation
Last update PR #4828
CI fails on all workflows that use the
setup-native-buildcomposite action (bk-ci.yml,codeql.yml,java21-daily-build.yml,windows-daily-build.yml,bk-streamstorage-python.yml,website-pr-validation.yml) with:https://github.com/apache/bookkeeper/actions/runs/30416112341/job/90462887407?pr=4850
The ASF approved actions allowlist (apache/infrastructure-actions) only permits
dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4(tag:stable).The allowlisted revision is also newer (2026-07-19) than the currently pinned one (2026-06-30); both point at the stable toolchain, so this is a plain upgrade.
Changes
dtolnay/rust-toolchainin.github/actions/setup-native-build/action.ymlto the ASF-allowlisted revision4cda84d5c5c54efe2404f9d843567869ab1699d4.