Skip to content

Add a GitHub Actions lockfile - #8

Merged
robin-simular merged 1 commit into
mainfrom
ci/actions-lockfile
Dec 2, 2026
Merged

robin-simular merged 1 commit into
mainfrom
ci/actions-lockfile

Conversation

@robin-simular

Copy link
Copy Markdown
Contributor

GitHub Actions now supports workflow lockfiles. .github/workflows/actions.lock pins every action our workflows run to an exact commit, including the actions those actions use. That protects against supply chain attacks, for example through a transitive dependency whose tag is moved to malicious code.

  • actions.lock is generated by gh actions-lock. Rerun it after adding a workflow or changing a uses: line.
  • The tool rewrote short tags such as v4 to the full release they point to today (v4.4.0). The workflows run the same commits as before.
  • verify-lockfile.yml fails when the lockfile and the workflows are out of sync. It runs only when something under .github/ changes.
  • Dependabot now also updates the actions, weekly. It updates the lockfile in the same PR.
  • ruby/setup-ruby@v1 resolves to v1.345.0, released on 2026-11-25. That is the commit @v1 runs today.

🤖 Generated with Claude Code

.github/workflows/actions.lock pins every action, including the actions
those actions use, to an exact commit. gh actions-lock rewrote short
tags to the full release they point to today. verify-lockfile.yml checks
the lockfile whenever something under .github changes. Dependabot now
updates the actions.

Co-Authored-By: Claude <noreply@anthropic.com>
@robin-simular
robin-simular marked this pull request as ready for review November 27, 2026 02:12

@simularlyon simularlyon 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.

The local workflow coverage review found that the lockfile covers the workflow references, and both GitHub checks passed. Approved.

@robin-simular
robin-simular merged commit 5aa91af into main Dec 2, 2026
2 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.

2 participants