Skip to content

ci: pin GitHub Actions to commit SHAs - #1130

Merged
alexb-openrouter merged 1 commit into
mainfrom
chore/pin-action-shas
Oct 22, 2026
Merged

alexb-openrouter merged 1 commit into
mainfrom
chore/pin-action-shas

Conversation

@LukasParke

@LukasParke LukasParke commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Pins every third-party action and reusable workflow in .github/ to a full commit SHA. Each pin keeps a # vX.Y.Z comment naming the most specific tag at that commit.

No behavior change. Each SHA is the commit the floating tag (@v5, @v15, ...) points to today. This diff only stops those tags from moving under us.

Why: a tag like @v15 can be repointed by its owner at any time, or by anyone who compromises their account. These workflows run with npm/PyPI/GPG/GitHub-App secrets.

Speakeasy: speakeasy-api/sdk-generation-action @v15 is now pinned to 68f3bfefb79354d39358bf4699863dabd2cea0f6 (v15.60.11). Inside, its reusable workflows check out the action itself at a fixed SHA (fa50f4813201c6f919c74c25196b17c070ec4ac1), so pinning the caller ref locks the whole chain.

Keeping pins current: Dependabot (package-ecosystem: github-actions) understands SHA pins with version comments and will bump both.

Only uses: lines change; checked with git diff | grep '^[-+] ' | grep -v uses: (empty). The pinning script resolved each ref with git ls-remote against the action repo.

🤖 Generated with Claude Code


Devin Review

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

@devin-ai-integration devin-ai-integration Bot 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.

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

@alexb-openrouter
alexb-openrouter self-requested a review October 22, 2026 19:43
@alexb-openrouter
alexb-openrouter merged commit 67c04f1 into main Oct 22, 2026
3 checks passed
@alexb-openrouter
alexb-openrouter deleted the chore/pin-action-shas branch October 22, 2026 19: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.

2 participants