Skip to content

Pin GitHub Actions to commit SHAs - #135

Merged
robandpdx merged 3 commits into
mainfrom
pinner/actions-sha-pins-2026-09-10
Sep 15, 2026
Merged

robandpdx merged 3 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
Contributor

Pins GitHub Actions uses: references in github/request-marketplace-action to immutable commit SHAs.

Summary

Metric Count
Files changed 5
Files scanned 4
Refs found 13
Refs pinned 13
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/approve-or-deny-request.yml:18 peter-murray/issue-body-parser-action@v3 peter-murray/issue-body-parser-action@6f0770bae810c272cbdccf6f817b0759a9d82647 tag
.github/workflows/approve-or-deny-request.yml:46 actions/checkout@v4 actions/checkout@11d5960a326750d5838078e36cf38b85af677262 tag
.github/workflows/approve-or-deny-request.yml:48 actions/setup-node@v4 actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 tag
.github/workflows/approve-or-deny-request.yml:57 actions/github-script@v7 actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b tag
.github/workflows/initialize-request.yml:18 peter-murray/issue-body-parser-action@v3 peter-murray/issue-body-parser-action@6f0770bae810c272cbdccf6f817b0759a9d82647 tag
.github/workflows/initialize-request.yml:50 actions/checkout@v4 actions/checkout@11d5960a326750d5838078e36cf38b85af677262 tag
.github/workflows/initialize-request.yml:52 actions/setup-node@v4 actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 tag
.github/workflows/initialize-request.yml:61 actions/github-script@v7 actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b tag
.github/workflows/pr.yml:20 actions/checkout@v4 actions/checkout@11d5960a326750d5838078e36cf38b85af677262 tag
.github/workflows/pr.yml:21 actions/setup-node@v4 actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 tag
.github/workflows/pr.yml:31 tintef/nyc-reporter-action@0.2.5 tintef/nyc-reporter-action@66a40cea2d02fdb0ac8fa045a7355cbbf9b991a1 tag
.github/workflows/test.yml:15 actions/checkout@v4 actions/checkout@11d5960a326750d5838078e36cf38b85af677262 tag
.github/workflows/test.yml:16 actions/setup-node@v4 actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 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:31
@github-security-bot
github-security-bot requested a review from a team as a code owner September 10, 2026 21:31

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

All action SHAs match their documented tags, and the Dependabot configuration is valid.

Pull request overview

Pins all workflow actions to immutable commit SHAs and enables delayed Dependabot updates.

Changes:

  • Pins all 13 action references to verified release commits.
  • Preserves version tags in inline comments.
  • Adds weekly GitHub Actions updates with a seven-day cooldown.
File summaries
File Description
.github/workflows/test.yml Pins test workflow actions.
.github/workflows/pr.yml Pins PR test and coverage actions.
.github/workflows/initialize-request.yml Pins request-initialization actions.
.github/workflows/approve-or-deny-request.yml Pins approval workflow actions.
.github/dependabot.yml Configures delayed action updates.
Review details
  • Files reviewed: 5/5 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.

@robandpdx

Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts in this pull request

…ns-2026-09-10

# Conflicts:
#	.github/workflows/approve-or-deny-request.yml
#	.github/workflows/initialize-request.yml
#	.github/workflows/pr.yml
#	.github/workflows/test.yml

Co-authored-by: robandpdx <95243761+robandpdx@users.noreply.github.com>

Copilot AI commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved and merged the current main branch into this PR in 3737b18.

@robandpdx
robandpdx merged commit f49eec4 into main Sep 15, 2026
5 checks passed
@robandpdx
robandpdx deleted the pinner/actions-sha-pins-2026-09-10 branch September 15, 2026 20:10
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.

4 participants