Skip to content

chore(ci): pin GitHub Actions to commit SHAs and enable Dependabot for actions - #332

Merged
lanesawyer merged 1 commit into
mainfrom
lane/pin-actions-dependabot
Nov 16, 2026
Merged

lanesawyer merged 1 commit into
mainfrom
lane/pin-actions-dependabot

Conversation

@lanesawyer

Copy link
Copy Markdown
Collaborator

What

Security hygiene: pins every third-party GitHub Action to a full commit SHA, with the version in a trailing comment (uses: owner/action@<sha> # vX.Y.Z). Dependabot reads that comment and updates both the SHA and the comment.

How

  • Each floating tag (e.g. actions/checkout@v6) is pinned to the commit that tag points to today, so workflow behavior is unchanged.
  • Adds a github-actions entry to .github/dependabot.yml (monthly, 7-day cooldown, patch updates grouped — same settings as the npm entry).

Once this is merged across the app-dev repos, we plan to turn on the "Require actions to be pinned to a full-length commit SHA" Actions policy.

Testing

  • Validated all edited YAML parses.
  • CI on this PR exercises the pinned checks/ci workflows; deploy/release workflows use the same SHAs their tags currently resolve to.

🤖 Generated with Claude Code

…r actions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lanesawyer
lanesawyer requested a review from a team as a code owner November 16, 2026 20:01
@lanesawyer
lanesawyer requested review from chrisj and suyli7 November 16, 2026 20:01
@lanesawyer
lanesawyer merged commit 96f4d6b into main Nov 16, 2026
5 checks passed
@lanesawyer
lanesawyer deleted the lane/pin-actions-dependabot branch November 16, 2026 21:38
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