Skip to content

chore(ci): Add Dependabot config for GitHub Actions - #37

Merged
korya merged 1 commit into
masterfrom
korya-chore-dependabot
Aug 30, 2026
Merged

chore(ci): Add Dependabot config for GitHub Actions#37
korya merged 1 commit into
masterfrom
korya-chore-dependabot

Conversation

@korya

@korya korya commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Problem

Nothing watches the action versions pinned in our workflows, so they drift until a deprecation breaks the build.

ci.yml, live.yml, and release.yml pin three actions by major tag — actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@v7. A major tag absorbs patches, but never the next major, and GitHub retires runner-side support on its own schedule. The usual failure mode is a red build on an unrelated PR, with the fix owed by whoever happened to push that day.

No visual change — this is CI configuration only.

Solution

Add a Dependabot config that bumps GitHub Actions weekly, grouped into a single PR.

Grouping is the load-bearing choice: a week that ships new majors of checkout, setup-go, and golangci-lint-action produces one PR and one CI run instead of three. The ci commit prefix keeps the generated commits inside our Conventional Commits format.

Dependency maintenance here has two independent levers, and only one of them is a file:

Lever Lives in Covers State after this PR
Version updates .github/dependabot.yml (this diff) Routine bumps, on a schedule Enabled for github-actions
Security updates Repo setting, no config file CVEs, fires on alert Enabled out-of-band (see below)

Why no gomod entry

A reviewer will reasonably ask. AGENTS.md mandates standard library only, so go.mod carries zero requires and there is no go.sum — Dependabot's Go updater would have nothing to bump, since it does not touch the go directive.

The entry is also not obvious future-proofing. This module is imported as a library, and under minimal version selection a require is a floor rather than a pin: auto-bumping it would raise the minimum for every consumer, which is often the wrong default for a library. That trade-off can't be settled before we know what the first dependency is, so the decision belongs in the PR that adds it — a PR that must already touch go.mod and amend the standard-library-only rule in AGENTS.md, making it a reliable place to remember.

Other Changes

Dependabot security updates were enabled on the repository (with the vulnerability alerts they depend on) outside this diff, since they are a repo setting rather than config. They run off the dependency graph and need no entry in dependabot.yml, so they will cover a future dependency with no further change here. Both are inert today.

🤖 Generated with Claude Code

Keeps the action majors pinned across the ci, live, and release workflows current instead of
drifting until a runner deprecation breaks them.

All bumps are grouped into one weekly PR, so a week that ships checkout, setup-go, and
golangci-lint-action costs a single review and a single CI run rather than three. The commit
prefix is set to `ci` to match the repo's Conventional Commits format.

The `gomod` ecosystem is deliberately omitted. AGENTS.md mandates standard library only, so
go.mod carries zero requires and there is no go.sum; Dependabot's Go updater would have nothing
to bump, as it does not touch the `go` directive. Whether to auto-bump requires at all is a
decision better made alongside the first real dependency: this module is imported as a library,
and under minimal version selection a require is a floor, so raising it raises the floor for
every consumer.

Dependabot security updates are not configured here. They are a repository setting, run off the
dependency graph, and need no entry in this file; they have been enabled separately and will
cover a future dependency without further changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dM7M83LicKy8psVSvjod2
@korya
korya marked this pull request as ready for review August 30, 2026 17:31
@korya
korya merged commit d1cce21 into master Aug 30, 2026
12 checks passed
@korya
korya deleted the korya-chore-dependabot branch August 30, 2026 17:31
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