Skip to content

ci: pin workflow actions to specific commit SHAs#8

Merged
hyperfinitism merged 1 commit intomainfrom
ci/actions-hash-pinning
Mar 31, 2026
Merged

ci: pin workflow actions to specific commit SHAs#8
hyperfinitism merged 1 commit intomainfrom
ci/actions-hash-pinning

Conversation

@hyperfinitism
Copy link
Copy Markdown
Owner

@hyperfinitism hyperfinitism commented Mar 31, 2026

This pull request updates the GitHub Actions workflow files to use pinned commit SHAs for GitHub actions instead of floating version tags.

Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com>
@hyperfinitism hyperfinitism requested a review from Copilot March 31, 2026 12:17
@hyperfinitism hyperfinitism self-assigned this Mar 31, 2026
@hyperfinitism hyperfinitism added the ci/cd CI/CD related items label Mar 31, 2026
@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves GitHub Actions workflow security and reproducibility by pinning third-party actions to specific commit SHAs instead of floating tags.

Changes:

  • Pin actions/checkout to a specific commit SHA in SPDX and Ruff workflows.
  • Pin actions/setup-python to a specific commit SHA in the Ruff workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/spdx.yml Pins actions/checkout to a commit SHA for reproducible SPDX checks.
.github/workflows/ruff.yml Pins actions/checkout and actions/setup-python to commit SHAs for reproducible lint runs.

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

@hyperfinitism hyperfinitism merged commit 7fede00 into main Mar 31, 2026
8 checks passed
@hyperfinitism hyperfinitism deleted the ci/actions-hash-pinning branch March 31, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd CI/CD related items

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants