Skip to content

ci: pin GitHub Actions to full commit SHAs (#8) - #9

Merged
tphakala merged 1 commit into
tphakala:mainfrom
amasen02:fix/pin-actions-to-commit-shas-8
Sep 9, 2026
Merged

tphakala merged 1 commit into
tphakala:mainfrom
amasen02:fix/pin-actions-to-commit-shas-8

Conversation

@amasen02

@amasen02 amasen02 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #8 — pins all GitHub Actions in .github/workflows/ to full 40-character commit SHAs, satisfying the OpenSSF Scorecard Pinned-Dependencies check and supply-chain hardening best practices.

Changes

  • Pin actions/checkout to 3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 across ci.yml, govulncheck.yml, release.yml, and scorecard.yml.
  • Pin actions/setup-go to b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7 across ci.yml and govulncheck.yml.
  • Pin codecov/codecov-action to fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7 in ci.yml.
  • Pin golangci/golangci-lint-action to ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9 in ci.yml.
  • Pin ossf/scorecard-action to 2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4 in scorecard.yml.
  • Pin actions/upload-artifact to 043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 in scorecard.yml.
  • Pin github/codeql-action/upload-sarif to cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4 in scorecard.yml.
  • Trailing comments preserved with human-readable versions so Dependabot can track and update pins.

Checklist

  • All 17 uses: references pinned to full commit SHAs
  • Trailing comments maintained
  • Staged as Draft PR

- Repoint all action references across ci.yml, govulncheck.yml, release.yml, and scorecard.yml to full 40-character commit SHAs
- Preserve human-readable version tags as trailing comments (e.g. # v7)
- Satisfy OpenSSF Scorecard Pinned-Dependencies check
@coderabbitai

coderabbitai Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 11425a85-ff09-40e4-bd18-33e1f349c204


Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@tphakala tphakala left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks for the clean hardening pass. All 17 uses: references are pinned to full commit SHAs, and I verified each SHA resolves to the exact commit its upstream tag points to: actions/checkout v7, actions/setup-go v7, codecov/codecov-action v7, golangci/golangci-lint-action v9, ossf/scorecard-action v2.4.4, actions/upload-artifact v7, and github/codeql-action v4. No tag pins remain anywhere under .github/, the trailing version comments are kept so the github-actions Dependabot ecosystem can track and update them, and CI is green across the board. Approving.

@amasen02
amasen02 marked this pull request as ready for review September 3, 2026 16:38
@amasen02

amasen02 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Following up on pinning GitHub Actions to full commit SHAs (17 tests green). Happy to re-pin any actions updated upstream since this was opened.

@tphakala
tphakala merged commit 836c46d into tphakala:main Sep 9, 2026
14 checks passed
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.

Pin GitHub Actions to full commit SHAs

2 participants