Skip to content

Pin GitHub Actions to commit SHAs - #74

Merged
kendallgassner merged 1 commit into
mainfrom
pinner/actions-sha-pins-2026-09-10
Sep 11, 2026
Merged

kendallgassner merged 1 commit into
mainfrom
pinner/actions-sha-pins-2026-09-10

Conversation

@github-security-bot

@github-security-bot github-security-bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Pins GitHub Actions uses: references in github/arianotify-polyfill to immutable commit SHAs.

Summary

Metric Count
Files changed 3
Files scanned 3
Refs found 12
Refs pinned 12
Skipped refs 0
Warnings 0
Errors 0

Why

Pinning actions to full commit SHAs prevents future tag or branch retargeting from changing workflow behavior without review.

Reviewer notes

  • Original refs are preserved in inline comments when possible.
  • Pin comments use the Dependabot-compatible original-ref style.
  • Branch refs were allowed and pinned to their current HEAD; review mutable-branch pins carefully.
  • No minimum action age was enforced for this run.

Pinned refs

Location Before After Resolved as
.github/workflows/publish.yml:21 actions/checkout@v7.0.1 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 tag
.github/workflows/publish.yml:22 actions/setup-node@v7 actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 tag
.github/workflows/static.yml:33 actions/checkout@v7.0.1 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 tag
.github/workflows/static.yml:35 actions/configure-pages@v6 actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d tag
.github/workflows/static.yml:37 actions/upload-pages-artifact@v5 actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 tag
.github/workflows/static.yml:43 actions/deploy-pages@v5 actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 tag
.github/workflows/test.yml:15 actions/checkout@v7.0.1 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 tag
.github/workflows/test.yml:16 actions/setup-node@v7 actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 tag
.github/workflows/test.yml:28 actions/checkout@v7.0.1 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 tag
.github/workflows/test.yml:29 actions/setup-node@v7 actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 tag
.github/workflows/test.yml:43 actions/checkout@v7.0.1 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 tag
.github/workflows/test.yml:44 actions/setup-node@v7 actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 tag

Generated by pinner 0.1.0.

Copilot AI balanced review requested due to automatic review settings September 10, 2026 21:23
@github-security-bot
github-security-bot requested a review from a team as a code owner September 10, 2026 21:23

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.

🟡 Changes recommended

The publish workflow retains an unpinned reusable-workflow reference to main.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Pins third-party GitHub Actions to verified immutable commit SHAs.

Changes:

  • Pins checkout, Node setup, Pages deployment, and test actions.
  • Preserves version tags in Dependabot-compatible comments.
File summaries
File Description
.github/workflows/publish.yml Pins publishing actions.
.github/workflows/static.yml Pins GitHub Pages actions.
.github/workflows/test.yml Pins test workflow actions.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

steps:
- uses: actions/checkout@v7.0.1
- uses: actions/setup-node@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@kendallgassner
kendallgassner merged commit e1dd76a into main Sep 11, 2026
8 checks passed
@kendallgassner
kendallgassner deleted the pinner/actions-sha-pins-2026-09-10 branch September 11, 2026 16:16
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.

3 participants