Skip to content

ci(deps): title Dependabot PRs build(deps)/ci(deps) instead of feat - #448

Merged
bketelsen merged 1 commit into
mainfrom
ci/dependabot-conventional-prefix
Oct 22, 2026
Merged

bketelsen merged 1 commit into
mainfrom
ci/dependabot-conventional-prefix

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Summary

Dependabot titled its PRs feat(deps): …. The repository squash-merges with the PR title, and make bump takes the version from svu next, which reads feat as a minor bump. For v2.0.4, 6 dependency commits made svu next propose v2.1.0, so Brian tagged v2.0.4 by hand.

  • .github/dependabot.yml: gomod prefix build, github-actions prefix ci (with include: scope → build(deps): …, ci(deps): …).
  • .goreleaser.yaml: the "Dependency updates" group regexp is now ^.*(build|ci|feat)\(deps(-dev)?\):+.*$. feat(deps) stays for PRs opened before this change (feat(deps): bump github.com/klauspost/compress from 1.20.1 to 1.20.3 #446, feat(deps): bump jdx/mise-action from 5.1.2 to 5.2.1 #447). The group stays before "New Features", which also matches feat(deps):.
  • updex/dependabot_prefix_contract_test.go: pins both prefixes, include: scope, the group regexp (matches and non-matches), and the group order.
  • AGENTS.md: Commits section states the Dependabot prefixes.

svu check

Temp repository, .svu.yml from this repo, tag v2.0.4, commits with file changes:

Commits after tag svu 3.4.1 (mise) svu 1.12
build(deps), ci(deps), build(deps-dev) v2.0.5 v2.0.4 (no bump)
+ feat(deps) v2.1.0 v2.1.0

With svu 3.4.1 and .svu.yml (always: true) dependency-only ranges give a patch. Note: AGENTS.md says mise.toml pins svu, but it does not; an old svu 1.x gives no bump, so make bump would fail at git tag (tag exists). Not changed here.

After merge

Checks

  • make fmt
  • make ci — CI gate passed (tidy, vet, gofmt, lint 2.13.1, docs gate, unit + coverage, E2E, race, linux amd64/arm64)
  • New tests fail on main's config (7 failures) and pass on this branch
  • goreleaser check — not installed locally; the Release config job runs it

Risk classification

  • Tier 1: Low
  • Tier 2: Moderate
  • Tier 3: High
  • Tier 4: Critical

Rationale:

  • Touches .goreleaser.yaml, a protected path in policies/agent-governance.json (minimum tier high), and changes how release versions are derived (release automation). No permissions, secrets, or build steps change; the binary is unaffected. Failure mode: a wrong group regexp misfiles changelog lines, and a wrong prefix gives a wrong svu next that the maintainer sees before tagging. Rollback: revert this commit.

Docs housekeeping

  • AGENTS.md updated for the convention change

Verification

  • node scripts/check-docs.mjs green (inside make ci)
  • Checked against the PR review rubric

Dependabot used the feat prefix, so dependency bumps alone made svu next
propose a minor release (v2.1.0 instead of v2.0.4). Go modules now use
build(deps), GitHub Actions ci(deps). The GoReleaser Dependency updates
group matches both, plus feat(deps) for PRs opened before this change.
A contract test pins the prefixes, the group regexp, and its order.
@github-actions github-actions Bot added documentation Improvements or additions to documentation go Pull requests that update go code github_actions Pull requests that update GitHub Actions code labels Oct 22, 2026
@bketelsen
bketelsen added this pull request to the merge queue Oct 22, 2026
Merged via the queue into main with commit f7a2680 Oct 22, 2026
18 checks passed
@bketelsen
bketelsen deleted the ci/dependabot-conventional-prefix branch October 22, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants