ORC-2182: Pin docker setup actions to approved commit hashes to recover CIs#2655
Closed
dongjoon-hyun wants to merge 1 commit into
Closed
ORC-2182: Pin docker setup actions to approved commit hashes to recover CIs#2655dongjoon-hyun wants to merge 1 commit into
dongjoon-hyun wants to merge 1 commit into
Conversation
Member
Author
|
Since CI is triggered successfully, this is verified already. |
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.
What changes were proposed in this pull request?
This PR pins two
docker/*GitHub Actions in.github/workflows/build_and_test.ymlto commit hashes approved by the ASF (apache/infrastructure-actions/approved_patterns.yml):docker/setup-qemu-action@v3@c7c53464625b32c7a7e944ae62b3e17d2b600130(v3.7.0)docker/setup-buildx-action@v3@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5(v4.1.0)Note that the approved patterns list has no
v3.xhash fordocker/setup-buildx-action, so it is bumped fromv3to the latest approvedv4.1.0.Why are the changes needed?
The ASF infrastructure policy requires third-party GitHub Actions to be pinned to approved commit hashes instead of mutable version tags, to prevent supply-chain attacks from tag reassignment.
Currently, the CI is broken like the following.
How was this patch tested?
Pass the GitHub Actions.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 4.8