ci: bump GitHub Actions to latest versions - #113
Merged
Conversation
Consolidates the four open Dependabot Actions PRs (#79, #102, #103, #111): - actions/checkout v7.0.0 => v7.0.1 - actions/setup-go v5 => v7.0.0 - goreleaser/goreleaser-action v6 => v7.2.3 - slackapi/slack-github-action v1.21.0 => v4.0.0 slack-github-action v2 dropped the SLACK_WEBHOOK_URL / SLACK_WEBHOOK_TYPE env-var form for incoming webhooks, so the failure-notification step is migrated to the `webhook` + `webhook-type: incoming-webhook` inputs. The setup-go and goreleaser majors only changed their Node runtime (no input API changes), so their steps are unchanged. All actions stay SHA-pinned with a version comment. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cbetta
marked this pull request as ready for review
July 28, 2026 08:59
This was referenced Jul 28, 2026
cbetta
added a commit
that referenced
this pull request
Jul 28, 2026
## Summary Follow-up to #114. Renovate's dashboard kept proposing `chore(deps): update googleapis/release-please-action digest to 45996ed`, which surfaced a subtlety in the pin #114 introduced. `googleapis/release-please-action` uses an **annotated** `v5` tag. In #114 I resolved it via `git/ref/tags/v5`, which returns the SHA of the *tag object* (`0dfd8538`), not the commit it points to. This repins to the actual **v5.0.0 release commit** `45996ed` — both `v5` and `v5.0.0` dereference to it. ## This was not breaking To be clear: the merged #114 pin **works at runtime**. The runner dereferences the tag object automatically, and the release-please job ran green on the #114 merge commit ([run](https://github.com/gr4vy/gr4vy-cli/actions/workflows/release.yml)). So no production impact. The reason to fix it anyway: 1. **Convention** — every other action in this repo is pinned to a commit SHA; a tag-object SHA is the odd one out, and SHA-pin security scanners (zizmor/ratchet) expect commit SHAs. 2. **Renovate churn** — Renovate compares against the commit digest, so it re-adds this entry to the dashboard every cycle until the pin matches. ## Verification - `45996ed` confirmed as a real commit (`chore(main): release 5.0.0`), not a tag object. - Audited every other pin from #113/#114 — all six resolve to real commits; this was the only tag-object pin. - `release.yml` YAML validated. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Consolidates the four open Dependabot GitHub Actions PRs into one, so they can all be reviewed and merged together. Closes #79, #102, #103, #111.
All actions remain SHA-pinned with a version comment.
Breaking-change handling
SLACK_WEBHOOK_URL/SLACK_WEBHOOK_TYPEenv-var form for incoming webhooks. The failure-notification step infailureNotifications.ymlis migrated to the documentedwebhook+webhook-type: incoming-webhookinputs. The Block Kitpayloadis unchanged.go-version-file,cache,version: "~> v2"andargsall remain valid.Verification
actions/checkoutandactions/setup-goare exercised directly by this PR's owncirun.goreleaser(tag-push only) andslack(workflow-failure only) are not triggered by PR CI — verified against their release notes / docs instead of runtime.Note
Once merged, Dependabot should auto-close #79, #102, #103 and #111. I've left them open for now; happy to close them explicitly on merge.
🤖 Generated with Claude Code