Skip to content

ci: lock workflow dependencies with GitHub's actions.lock - #6

Merged
rgarcia merged 1 commit into
mainfrom
hypeship/actions-lockfile
Nov 13, 2026
Merged

rgarcia merged 1 commit into
mainfrom
hypeship/actions-lockfile

Conversation

@rgarcia

@rgarcia rgarcia commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Adds GitHub's workflow dependency lockfile. .github/workflows/actions.lock records the commit behind every action the workflows use (including actions those actions use), so a moved tag or branch upstream can't change what runs in CI.

That includes release.yml, where actions/create-github-app-token mints a token and goreleaser/goreleaser-action publishes the release.

  • Added .github/workflows/actions.lock. Generated with gh actions-lock; gh actions-lock --verify passes. Only uses: lines change, plus the new lockfile.
  • Action refs narrowed to exact releases, e.g. actions/checkout@v4.4.0, actions/setup-go@v5.6.0, golangci/golangci-lint-action@v9.3.0, actions/create-github-app-token@v1.12.0. goreleaser/goreleaser-action@v6.1.0 was already exact and is now recorded in the lockfile.
  • No reusable workflow calls in this repo, so nothing is left outside the lockfile. release.yml only runs on tag push, so it isn't exercised by this PR's checks.

@rgarcia
rgarcia merged commit be3c51c into main Nov 13, 2026
3 checks passed
@rgarcia
rgarcia deleted the hypeship/actions-lockfile branch November 13, 2026 21:26
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