Skip to content

Pin GitHub Actions to commit SHAs - #218

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

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

Pins GitHub Actions uses: references in github/copilot-cli-for-beginners to immutable commit SHAs.

Summary

Metric Count
Files changed 3
Files scanned 2
Refs found 8
Refs pinned 8
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/co-op-translator.yml:46 actions/checkout@v7 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 tag
.github/workflows/co-op-translator.yml:51 actions/setup-python@v6 actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 tag
.github/workflows/co-op-translator.yml:104 actions/upload-artifact@v7 actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a tag
.github/workflows/co-op-translator.yml:111 peter-evans/create-pull-request@v8 peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 tag
.github/workflows/sync-content-engine.yml:24 actions/checkout@v4 actions/checkout@11d5960a326750d5838078e36cf38b85af677262 tag
.github/workflows/sync-content-engine.yml:29 actions/checkout@v4 actions/checkout@11d5960a326750d5838078e36cf38b85af677262 tag
.github/workflows/sync-content-engine.yml:36 actions/setup-node@v4 actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 tag
.github/workflows/sync-content-engine.yml:47 peter-evans/create-pull-request@v7 peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 tag

Dependabot

  • Added a github-actions entry (weekly updates, 7-day cooldown) to the existing 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.

Copilot AI balanced review requested due to automatic review settings September 10, 2026 21:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

All SHAs resolve to the documented tags, and the Dependabot configuration is valid.

Pull request overview

Pins GitHub Actions dependencies to immutable SHAs and configures automated updates.

Changes:

  • Pins eight action references to verified release commits.
  • Adds weekly Dependabot updates with a seven-day cooldown.
File summaries
File Description
.github/workflows/co-op-translator.yml Pins four workflow actions.
.github/workflows/sync-content-engine.yml Pins four workflow actions.
.github/dependabot.yml Adds GitHub Actions update configuration.
Review details
  • Files reviewed: 3/3 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.

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