hugovk.dev·11 november 2026

Lock your GitHub Actions

Image for the article: Lock your GitHub Actions
Image via hugovk.dev

GitHub Actions now supports workflow lockfiles to mitigate supply-chain attacks. The feature allows users to pin workflows to specific versions, reducing the risk of malicious code being introduced through mutable tags. The lockfiles can be generated using the gh-actions-lock extension for the gh CLI. Both Renovate and Dependabot support lockfiles, ensuring periodic updates. GitHub also recommends verifying lockfiles in CI to maintain security.