Skip to content

ci(renovate): label deps, lint config, group by Maven groupId - #416

Merged
vlsi merged 1 commit into
masterfrom
claude/sad-stonebraker-a22988
Jun 22, 2026
Merged

ci(renovate): label deps, lint config, group by Maven groupId#416
vlsi merged 1 commit into
masterfrom
claude/sad-stonebraker-a22988

Conversation

@vlsi

@vlsi vlsi commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Why

Renovate PRs currently land uncategorised in the draft release notes, and the config has no automated validation. Security advisories also open one PR per artifact: a single advisory that bumps several artifacts of the same project produces several separate PRs, because Renovate resets the groupName for security updates.

What

  • dependencies label. Add labels: ["dependencies"] to renovate.json and a matching ⬆️ Dependencies category (collapse-after: 8) in release-drafter.yml, so dependency updates land in their own collapsible section.
  • Config lint workflow. Add .github/workflows/renovate-config-lint.yml, which runs renovate-config-validator on changes to renovate.json or the workflow itself. Mirrors apache/jmeter#6704, adapted to this repo's CI conventions (version-tag actions, read-only permissions).
  • Group by Maven groupId. Add a catch-all packageRule (matchDatasources: ["maven"]) that sets groupName to the dependency's groupId, and a vulnerabilityAlerts block with the same template so security updates group the same way. Drop the now-redundant ch.qos.logback rule, which the catch-all covers. Mirrors apache/jmeter#6710.
  • Preset migration. Migrate the deprecated config:base to config:recommended, clearing the warning the new lint workflow surfaces.

How to verify

  • docker run --rm -v "$PWD":/work -w /work renovate/renovate:latest renovate-config-validator renovate.json exits 0 with no warnings.
  • The new workflow runs on this PR, since it touches both renovate.json and the workflow file.

Note

Grouping is by exact groupId, so a project split across several groupIds forms one group per groupId. Where several groupIds should move together (or a dependency later adds a sub-groupId such as ch.qos.logback.contrib), add an explicit rule after the catch-all.

🤖 Generated with Claude Code

Add a `dependencies` label so Renovate PRs land in a dedicated
release-drafter category instead of falling through uncategorised.

Add a Validate Renovate Config workflow that runs
renovate-config-validator on changes to renovate.json, catching schema
typos before merge.

Group every Maven update by its groupId via a catch-all packageRule, and
apply the same grouping to security updates through vulnerabilityAlerts
(Renovate otherwise resets their groupName and opens one PR per
artifact). Drop the now-redundant ch.qos.logback rule, which the
catch-all covers.

Migrate the deprecated config:base preset to config:recommended to clear
the validator warning the new workflow surfaces.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vlsi vlsi added the chore build configuration update label Jun 22, 2026
@vlsi
vlsi enabled auto-merge (rebase) June 22, 2026 13:35
@vlsi
vlsi merged commit aceb474 into master Jun 22, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore build configuration update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant