Skip to content

ci: pin actions with Renovate-compatible version comments#1

Merged
rokuosan merged 1 commit into
masterfrom
fix-sha-pinning
Jun 15, 2026
Merged

ci: pin actions with Renovate-compatible version comments#1
rokuosan merged 1 commit into
masterfrom
fix-sha-pinning

Conversation

@rokuosan

@rokuosan rokuosan commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Overview

Keep GitHub Actions pinned to commit SHAs while moving the version comments to the inline format that Renovate understands.

Previously the version was written on the line above uses (e.g. # actions/checkout@v6.0.3). Renovate cannot track or auto-update SHA-pinned actions in that style. Switching to Renovate's expected inline format (uses: <action>@<sha> # <version>) keeps the SHA pin while re-enabling automatic updates.

Changes

  • Normalize version comments in .github/workflows/ci-golang.yaml to the inline format:
    • actions/checkout@df4cb1c…# v6.0.3
    • actions/setup-go@4a36011…# v6.4.0
    • golangci/golangci-lint-action@82606bf…# v9.2.1

Notes

@rokuosan rokuosan changed the title comment versions in renovate format ci: pin actions with Renovate-compatible version comments Jun 15, 2026
@rokuosan rokuosan merged commit 907e127 into master Jun 15, 2026
2 checks passed
@rokuosan rokuosan deleted the fix-sha-pinning branch June 15, 2026 16:43
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.

1 participant