Skip to content

Pin GitHub Actions to commit SHAs - #201

Merged
mrecachinas merged 2 commits into
masterfrom
pinner/actions-sha-pins-2026-09-10
Oct 6, 2026
Merged

mrecachinas merged 2 commits into
masterfrom
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 external GitHub Actions to immutable commit SHAs.

Summary

  • Eleven Action references pinned across .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml, and .github/workflows/test.yml.
  • Resolves the merge conflict against the current base without reverting its updated CodeQL workflow.
  • Preserves current-base dependency versions, workflow inputs, job steps, and existing SHA pins. Original refs are retained in comments for Dependabot.

Conflict-resolution verification

The merge commit incorporates the current base and reapplies only Action-reference pins. The desired tree, base-relative file list, YAML semantics, and exact committed content were checked. The repaired branch is mergeable and up to date with the incorporated base. CI and required reviews remain separate merge gates.

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

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 action references use full SHAs matching their annotated release tags.

Pull request overview

Pins all workflow actions to verified immutable commit SHAs while preserving version comments.

Changes:

  • Pins 11 action references across three workflows.
  • Retains Dependabot-compatible version annotations.
  • Covers CI, testing, artifact handling, and CodeQL scanning.
File summaries
File Description
.github/workflows/ci.yml Pins checkout and artifact upload actions.
.github/workflows/codeql-analysis.yml Pins checkout and CodeQL actions.
.github/workflows/test.yml Pins build, checkout, and artifact actions.
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.

Preserve current-base workflow/config changes and deletions; pin the same current-base Action versions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@mrecachinas
mrecachinas merged commit 56e5efa into master Oct 6, 2026
17 checks passed
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