Skip to content

Pin GitHub Actions to commit SHAs - #42

Open
github-security-bot wants to merge 2 commits into
mainfrom
pinner/actions-sha-pins-2026-09-10
Open

Pin GitHub Actions to commit SHAs#42
github-security-bot wants to merge 2 commits 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

Pins GitHub Actions uses: references in github/agentfinder-catalog to immutable commit SHAs.

Summary

Metric Count
Files changed 3
Files scanned 2
Refs found 4
Refs pinned 4
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/catalog.yml:25 actions/checkout@v4 actions/checkout@11d5960a326750d5838078e36cf38b85af677262 tag
.github/workflows/codeql.yml:32 actions/checkout@v4 actions/checkout@11d5960a326750d5838078e36cf38b85af677262 tag
.github/workflows/codeql.yml:35 github/codeql-action/init@v3 github/codeql-action/init@faaca9a8f6edddba5725ffe5adefdab6669a2eca tag
.github/workflows/codeql.yml:41 github/codeql-action/analyze@v3 github/codeql-action/analyze@faaca9a8f6edddba5725ffe5adefdab6669a2eca tag

Dependabot

  • Added .github/dependabot.yml enabling weekly github-actions updates with a 7-day cooldown (cooldown: default-days: 7).
  • 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.

Copilot AI balanced review requested due to automatic review settings 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 extensive catalog refresh should be reverted, split out, or explicitly included in the PR’s scope.

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

Pull request overview

Pins GitHub Actions to immutable SHAs and enables automated action updates, but also includes an unrelated catalog refresh.

Changes:

  • Pins checkout and CodeQL actions.
  • Adds weekly Dependabot updates with a 7-day cooldown.
  • Regenerates MCP catalog data.
File summaries
File Description
.github/workflows/catalog.yml Pins checkout.
.github/workflows/codeql.yml Pins checkout and CodeQL actions.
.github/dependabot.yml Configures action updates.
ai-catalog.json Refreshes generated catalog data.
Review details
  • Files reviewed: 3/4 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.

Comment thread ai-catalog.json
Comment on lines +22409 to +22413
{
"identifier": "urn:air:registry.modelcontextprotocol.io:ai.bowmark:bowmark",
"displayName": "Bowmark",
"type": "application/mcp-server+json",
"url": "https://api.mcp.github.com/v0.1/servers/ai.bowmark%2Fbowmark/versions/8.110.3",
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