Skip to content

ci: lock workflow dependencies with gh actions-lock - #202

Open
coconux3 wants to merge 1 commit into
warpdotdev:mainfrom
coconux3:lock-workflow-dependencies
Open

coconux3 wants to merge 1 commit into
warpdotdev:mainfrom
coconux3:lock-workflow-dependencies

Conversation

@coconux3

Copy link
Copy Markdown

Discord username (optional) please include so we can attribute you with our Contributor role (like so elvis#4747)

Description of changes (updated or new workflows)

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 and GH_RUN_WORKFLOW_PAT.

  • Added .github/workflows/actions.lock, generated with gh actions-lock and checked with gh actions-lock --verify.
  • Action refs narrowed to exact releases, for example actions/checkout@v3.7.0.
  • crate-ci/typos and phips28/gh-action-bump-version point to master: they are now locked on today's commit. Consider pointing them to a numbered version that suits you, then regenerating the lockfile.

Fixes unpinned actions. Found by Plumber's analysis, reviewed and submitted by me.

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.

1 participant