Skip to content

Suggestion: pin GitHub Actions to commit SHAs - #59

Open
JAG-UK wants to merge 1 commit into
mainfrom
suggestion/pin-actions
Open

JAG-UK wants to merge 1 commit into
mainfrom
suggestion/pin-actions

Conversation

@JAG-UK

@JAG-UK JAG-UK commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

This is a suggestion from a security read-through of the repo, not a required fix. Merge, change or close as you see fit.

What

The workflows reference actions by moving refs (@v4, @main). Whoever controls those refs controls code that runs with the ECR push credentials and the image-deployer AWS keys. The one that matters most is neti-filplus-infra/filplus-deploy-action@main: any push to that repo's main changes what runs with the deployer keys here.

This pins every action to the commit its ref pointed to today, with the original ref kept as a comment. No behaviour change is intended.

Trade-offs — your call

  • Changes to filplus-deploy-action no longer take effect here until the SHA is bumped. If you want that to stay automatic, drop those lines from this PR and keep the third-party pins.
  • This repo's Dependabot config already covers github-actions, so the third-party pins should get bump PRs monthly.

Testing

YAML parses; the SHAs were resolved from each action's repo via the GitHub API. The workflows have not been run with the pins beyond this PR's own checks, and the deploy workflow is not exercised by a PR at all.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@JAG-UK
JAG-UK deployed to production-fidl November 26, 2026 13:34 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
production-fidl — d17aa20a Deployed Nov 26, 2026 by JAG-UK via build-and-publish / build_and_push #207
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