Skip to content

[SPARK-56260][INFRA][FOLLOW-UP] Pin third-party GitHub Actions to commit SHA#55066

Draft
Yicong-Huang wants to merge 3 commits intoapache:masterfrom
Yicong-Huang:SPARK-56260-third-party
Draft

[SPARK-56260][INFRA][FOLLOW-UP] Pin third-party GitHub Actions to commit SHA#55066
Yicong-Huang wants to merge 3 commits intoapache:masterfrom
Yicong-Huang:SPARK-56260-third-party

Conversation

@Yicong-Huang
Copy link
Copy Markdown
Contributor

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:

Action Before Pinned SHA Apache Allowlist
bufbuild/buf-setup-action @v1 a47c93e0... *: keep: true
bufbuild/buf-lint-action @v1 06f9dd82... *: keep: true
bufbuild/buf-breaking-action @v1 c57b3d84... *: keep: true
codecov/codecov-action @v5 75cd1169... *: keep: true
medyagh/setup-minikube @v0.0.21 e9e035a8... *: keep: true
r-lib/actions/setup-r @v2 6f6e5bc6... *: keep: true
ruby/setup-ruby @v1 4dc28cf1... *: keep: true
test-summary/action @v2 31493c76... *: keep: true

All 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

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
@Yicong-Huang Yicong-Huang changed the title [SPARK-56260][INFRA] Pin third-party GitHub Actions to commit SHA [SPARK-56260][INFRA][FOLLOW-UP] Pin third-party GitHub Actions to commit SHA Mar 27, 2026
@Yicong-Huang Yicong-Huang marked this pull request as draft March 27, 2026 18:45
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.

1 participant