Skip to content

ci: bump GitHub Actions to latest versions - #113

Merged
cbetta merged 1 commit into
mainfrom
cb/bump-github-actions
Jul 28, 2026
Merged

ci: bump GitHub Actions to latest versions#113
cbetta merged 1 commit into
mainfrom
cb/bump-github-actions

Conversation

@cbetta

@cbetta cbetta commented Jul 28, 2026

Copy link
Copy Markdown
Member

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.

Action From To
actions/checkout v7.0.0 v7.0.1
actions/setup-go v5 (5.6.0) v7.0.0
goreleaser/goreleaser-action v6 v7.2.3
slackapi/slack-github-action v1.21.0 v4.0.0

Breaking-change handling

  • slack-github-action v2+ dropped the SLACK_WEBHOOK_URL / SLACK_WEBHOOK_TYPE env-var form for incoming webhooks. The failure-notification step in failureNotifications.yml is migrated to the documented webhook + webhook-type: incoming-webhook inputs. The Block Kit payload is unchanged.
  • setup-go v7 and goreleaser-action v7 majors only bumped their Node runtime (Node 24) — no input API changes — so those steps are otherwise untouched. go-version-file, cache, version: "~> v2" and args all remain valid.

Verification

  • All workflow YAML validated as well-formed.
  • actions/checkout and actions/setup-go are exercised directly by this PR's own ci run.
  • goreleaser (tag-push only) and slack (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

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
cbetta marked this pull request as ready for review July 28, 2026 08:59
@cbetta
cbetta merged commit 1d3e5ed into main Jul 28, 2026
6 checks passed
@cbetta
cbetta deleted the cb/bump-github-actions branch July 28, 2026 08:59
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>
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