hugovk.dev·11 november 2026
Lock your GitHub Actions

CI/CD
Dependabot
gh-actions-lock
gh CLI
GitHub
GitHub Actions
pre-commit
Renovate
security linter
supply-chain attacks
version pinning
workflow lockfiles
workflow validation
zizmor
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.