Skip to content

ci: pin GitHub Actions to full commit SHAs#85

Merged
bug-ops merged 1 commit intomainfrom
fix-unpinned-actions
Apr 5, 2026
Merged

ci: pin GitHub Actions to full commit SHAs#85
bug-ops merged 1 commit intomainfrom
fix-unpinned-actions

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented Apr 5, 2026

Summary

  • Resolves 15 open actions/unpinned-tag code-scanning alerts
  • Pins all third-party GitHub Actions in CI workflows to full 40-char commit SHAs
  • Preserves original tag/branch refs in inline comments for readability

Affected files

  • .github/workflows/ci.yml — 9 actions pinned
  • .github/workflows/release.yml — 6 actions pinned
  • .github/workflows/dependabot-automerge.yml — 2 actions pinned

Out of scope

.github/workflows/codeql.yml and .github/workflows/labeler.yml contain unpinned actions but were excluded from this PR (separate alerts).

Test plan

  • All uses: lines in target files use full 40-char SHA
  • Each pinned line has trailing comment with original ref
  • No unresolved @v, @stable, @nightly, @master, @main patterns remain
  • YAML syntax valid

@github-actions github-actions bot added the ci/cd CI/CD pipeline changes label Apr 5, 2026
Addresses 15 open code-scanning alerts (actions/unpinned-tag) by
replacing tag-based action references with pinned commit SHAs and
preserving original refs in inline comments.

Affected files:
- .github/workflows/ci.yml (9 actions pinned)
- .github/workflows/release.yml (6 actions pinned)
- .github/workflows/dependabot-automerge.yml (2 actions pinned)
@bug-ops bug-ops force-pushed the fix-unpinned-actions branch from f6af1b6 to 9a36030 Compare April 5, 2026 20:20
@bug-ops bug-ops enabled auto-merge (squash) April 5, 2026 20:20
@bug-ops bug-ops merged commit bce4c42 into main Apr 5, 2026
16 checks passed
@bug-ops bug-ops deleted the fix-unpinned-actions branch April 5, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd CI/CD pipeline changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant