Skip to content

ci: use build(deps) prefix for Maven and npm Dependabot PRs - #20691

Merged
FrankChen021 merged 1 commit into
apache:masterfrom
amaechler:dependabot-commit-message-prefix
Oct 23, 2026
Merged

FrankChen021 merged 1 commit into
apache:masterfrom
amaechler:dependabot-commit-message-prefix

Conversation

@amaechler

Copy link
Copy Markdown
Contributor

Description

Maven and npm Dependabot PRs are currently titled ci: bump ... (for example #20639 and #20654), although they change build dependencies. Earlier ones were build(deps): bump ... and build(deps-dev): bump ....

This PR adds commit-message with prefix: "build" and include: "scope" to the Maven entry and to both npm entries (/website/ and /web-console/). Titles become:

  • build(deps): bump org.ow2.asm:asm-commons from 9.10.1 to 9.11
  • build(deps-dev): bump com.google.guava:guava from 33.7.1-jre to 33.7.2-jre for test-scoped dependencies
  • build(deps): bump shell-quote from 1.10.0 to 1.12.0 in /web-console
Why the prefix changed

The Maven and npm entries in .github/dependabot.yml have no commit-message setting. Without one, Dependabot copies the prefix style of its most recent commit on master, whatever the ecosystem (pr_name_prefixer.rb). Once #20577 merged as ci: bump the github-actions group with 4 updates, using the explicit ci prefix of the GitHub Actions entry, Maven and npm PRs started copying it. Titles currently switch between ci: and build(deps): depending on which Dependabot PR merged last.


This PR has:

  • been self-reviewed.

…dates

Without an explicit prefix, Dependabot copies the style of its most recent
commit on the default branch, whatever the ecosystem. Since the github-actions
group update merged as "ci: bump ...", Maven bumps have been titled "ci:" even
though they change build dependencies.

Use "build" with the dependency scope for Maven and both npm entries, so titles
are "build(deps): bump ..." or "build(deps-dev): bump ...", matching earlier
Dependabot PRs.
@amaechler amaechler self-assigned this Oct 22, 2026
@github-actions github-actions Bot added the GHA label Oct 22, 2026
@FrankChen021
FrankChen021 merged commit cfcc820 into apache:master Oct 23, 2026
26 of 27 checks passed
@github-actions github-actions Bot added this to the 40.0.0 milestone Oct 23, 2026
@amaechler
amaechler deleted the dependabot-commit-message-prefix branch October 23, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants