Skip to content

security: Pin Github Actions#6

Open
hhvrc wants to merge 1 commit into
masterfrom
security/pin-gh-actions
Open

security: Pin Github Actions#6
hhvrc wants to merge 1 commit into
masterfrom
security/pin-gh-actions

Conversation

@hhvrc

@hhvrc hhvrc commented May 6, 2026

Copy link
Copy Markdown
Contributor

Pins all third-party GitHub Actions in workflows and composite actions to immutable commit SHAs, with the resolved tag preserved in a trailing comment.

Generated by pin_github_actions.py.

Copilot AI review requested due to automatic review settings May 6, 2026 20:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins third-party GitHub Actions in the CI workflow to immutable commit SHAs, aligning with supply-chain hardening best practices for this repository’s build pipeline.

Changes:

  • Replaced tag-based uses: references (e.g., @v4) with full commit SHAs.
  • Added trailing comments intended to preserve the resolved tag/version for traceability.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +20 to +24
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: validate gradle wrapper
uses: gradle/actions/wrapper-validation@v4
uses: gradle/actions/wrapper-validation@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v4
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
- name: capture build artifacts
if: ${{ matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
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