Skip to content

ci: lock the publish and test workflow actions to their commits - #137

Merged
joao-onfleet merged 1 commit into
onfleet:masterfrom
coconux3:lock-workflow-dependencies
Nov 13, 2026
Merged

joao-onfleet merged 1 commit into
onfleet:masterfrom
coconux3:lock-workflow-dependencies

Conversation

@coconux3

@coconux3 coconux3 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

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.

View guided diff

Adds .github/workflows/actions.lock, generated with gh actions-lock. It records the commit behind every action the workflows use, so a moved tag cannot change what runs in the publish job. Refs are narrowed to exact releases so Dependabot keeps bumping them.
@joao-onfleet
joao-onfleet merged commit 3ea3179 into onfleet:master Nov 13, 2026
6 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