[SPARK-56260][INFRA][FOLLOW-UP] Pin third-party GitHub Actions to commit SHA#55066
Draft
Yicong-Huang wants to merge 3 commits intoapache:masterfrom
Draft
[SPARK-56260][INFRA][FOLLOW-UP] Pin third-party GitHub Actions to commit SHA#55066Yicong-Huang wants to merge 3 commits intoapache:masterfrom
Yicong-Huang wants to merge 3 commits intoapache:masterfrom
Conversation
Pin all `actions/*` GitHub Actions to specific commit SHA versions for supply chain security. Adds version comments for maintainability. Actions pinned: - actions/checkout@v6 - actions/setup-java@v5 - actions/setup-python@v6 - actions/cache@v5 - actions/upload-artifact@v6 - actions/download-artifact@v6 - actions/setup-node@v6 - actions/github-script@v8 - actions/stale@v10 - actions/configure-pages@v5 - actions/deploy-pages@v4 - actions/upload-pages-artifact@v3
Pin all third-party GitHub Actions in CI workflows to specific commit SHA versions. All actions are verified to be on the Apache infrastructure-actions allowlist. Adds version comments for maintainability. Actions pinned: - bufbuild/buf-setup-action@v1 - bufbuild/buf-lint-action@v1 - bufbuild/buf-breaking-action@v1 - codecov/codecov-action@v5 - medyagh/setup-minikube@v0.0.21 - r-lib/actions/setup-r@v2 - ruby/setup-ruby@v1 - test-summary/action@v2
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?
Pin all third-party GitHub Actions in CI workflows to specific commit SHA versions instead of mutable version tags. A version comment is added alongside each SHA for maintainability.
Actions pinned:
bufbuild/buf-setup-action@v1a47c93e0...*: keep: truebufbuild/buf-lint-action@v106f9dd82...*: keep: truebufbuild/buf-breaking-action@v1c57b3d84...*: keep: truecodecov/codecov-action@v575cd1169...*: keep: truemedyagh/setup-minikube@v0.0.21e9e035a8...*: keep: truer-lib/actions/setup-r@v26f6e5bc6...*: keep: trueruby/setup-ruby@v14dc28cf1...*: keep: truetest-summary/action@v231493c76...*: keep: trueAll actions are verified to be on the Apache infrastructure-actions allowlist.
Why are the changes needed?
Pinning actions to commit SHAs is a security best practice recommended by GitHub to prevent supply chain attacks via compromised action tags.
Does this PR introduce any user-facing change?
No
How was this patch tested?
No functional changes - only CI workflow action references are updated.
Was this patch authored or co-authored using generative AI tooling?
No