Skip to content

Pin GitHub Actions to commit SHAs - #27

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

basiclines 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/TUIKit to immutable commit SHAs.

Summary

Metric Count
Files changed 2
Files scanned 1
Refs found 2
Refs pinned 2
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/specs-ci.yml:13 actions/checkout@v4 actions/checkout@11d5960a326750d5838078e36cf38b85af677262 tag
.github/workflows/specs-ci.yml:18 oven-sh/setup-bun@v2 oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 tag

Dependabot

  • Added a 7-day cooldown (cooldown: default-days: 7) to the existing github-actions Dependabot configuration.
  • The cooldown delays applying a newly published action release for 7 days, reducing exposure to a compromised or broken release while keeping you SHA-pinned.

Generated by pinner 0.1.0.

@github-security-bot
github-security-bot requested review from a team and a balanced review from Copilot September 10, 2026 21:32

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.

🟢 Approval recommended

The SHAs match the documented release tags, and the Dependabot configuration is valid.

Pull request overview

Pins CI actions to immutable SHAs and adds a Dependabot cooldown for supply-chain security.

Changes:

  • Pins two actions to verified release commits.
  • Adds a seven-day GitHub Actions update cooldown.
File summaries
File Description
.github/workflows/specs-ci.yml Pins checkout and Bun setup actions.
.github/dependabot.yml Adds the update cooldown.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

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

@basiclines
basiclines merged commit a9dfd04 into main Sep 17, 2026
6 checks passed
@basiclines
basiclines deleted the pinner/actions-sha-pins-2026-09-10 branch September 17, 2026 21:30
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