Skip to content

ci: pin GitHub Actions to full commit SHA - #117

Open
qtipbera wants to merge 1 commit into
mainfrom
ci/pin-actions-to-sha
Open

qtipbera wants to merge 1 commit into
mainfrom
ci/pin-actions-to-sha

Conversation

@qtipbera

@qtipbera qtipbera commented Jun 9, 2026

Copy link
Copy Markdown

SHA-pin all actions. Mutable tags can be force-pushed if an action repo is compromised, and evaporate if it is disabled (cf. Azure/functions-action, Jun 5 Miasma). Stopgap ahead of Renovate digest maintenance. Ref: Miasma scan 2026-06-09.

Copilot AI review requested due to automatic review settings June 9, 2026 15:57
@qtipbera
qtipbera requested a review from calbera as a code owner June 9, 2026 15:57
@qtipbera qtipbera added the security Security hardening label Jun 9, 2026

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.

Pull request overview

This PR improves GitHub Actions supply-chain security by replacing mutable action tags (e.g., @v4) with immutable full commit SHAs across the repository’s workflows, aligning with the stated goal of SHA-pinning all actions as a stopgap ahead of Renovate digest maintenance.

Changes:

  • Replaced uses: ...@v* references with full 40-character commit SHAs across workflows.
  • Added inline comments indicating the corresponding action version for readability/auditing.
  • Covered core CI, release, docker, backport, and PR-title validation workflows.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/validate_pr.yml Pins actions/github-script to a full commit SHA for PR title validation.
.github/workflows/release.yml Pins checkout/setup-go/artifact upload+download actions to SHAs for release builds and drafting.
.github/workflows/docker.yml Pins docker-related actions plus checkout/setup-go/cosign installer to SHAs for build/sign workflows.
.github/workflows/ci.yml Pins checkout/cache/setup-go to SHAs for lint/test/keeper CI jobs.
.github/workflows/backport.yml Pins checkout/github-script/backport-action to SHAs for automated backports.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Security hardening

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants