Skip to content

ci: lock workflow action dependencies with actions.lock - #148

Merged
rgarcia merged 1 commit into
mainfrom
hypeship/actions-lockfile
Nov 13, 2026
Merged

rgarcia merged 1 commit into
mainfrom
hypeship/actions-lockfile

Conversation

@rgarcia

@rgarcia rgarcia commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Adds GitHub's workflow dependency lockfile. .github/workflows/actions.lock records the exact commit behind every action the workflows use, and the runner refuses to run an action whose resolved commit doesn't match. A moved or hijacked tag on a third-party action can no longer change what runs in CI.

  • Added .github/workflows/actions.lock.
  • actions/checkout@v4 → v4.4.0, actions/setup-node@v4 → v4.4.0, actions/setup-go@v5 → v5.6.0. Only uses: lines change.
  • Generated with gh actions-lock (not hand-edited). gh actions-lock --verify passes (all 2 workflows valid).
  • To change an action version later: edit the uses: line, run gh actions-lock, and commit both files.

@rgarcia
rgarcia merged commit b2aae8d into main Nov 13, 2026
2 of 4 checks passed
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