ci: lock the publish and test workflow actions to their commits
Merged
CO
4d ago+47+47+01234567890123456789-13-13-01234567890123456789
Describe the solution
Adds GitHub's workflow dependency lockfile. actions.lock records the commit behind every action the workflows use, so a moved tag can't change what runs, including in the publish job that holds the npm token. The uses: lines keep readable versions that Dependabot can bump.
Added
.github/workflows/actions.lock, generated with gh actions-lock and checked with gh actions-lock --verify.
Changed
Action refs narrowed to exact releases, for example actions/checkout@v7.0.1.
Security
Fixes unpinned actions. Found by Plumber's analysis, reviewed and submitted by me.