Skip to content

chore(ci): scope dependabot prefixes so release-please skips non-runtime updates#48

Merged
kojiromike merged 1 commit into
mainfrom
kojiromike/dependabot-prefixes
May 18, 2026
Merged

chore(ci): scope dependabot prefixes so release-please skips non-runtime updates#48
kojiromike merged 1 commit into
mainfrom
kojiromike/dependabot-prefixes

Conversation

@kojiromike
Copy link
Copy Markdown
Contributor

Summary

Scope Dependabot's commit-message prefixes so release-please only opens a release PR when something user-facing actually changed.

Update type Old prefix New prefix Release-please effect
Runtime deps deps fix(deps) patch bump
Dev-only deps deps-dev chore(deps-dev) no bump (in changelog)
GitHub Actions / reusable workflows deps chore(ci) no bump

Why

Today every Dependabot PR lands as deps: or deps-dev:, both of which release-please's default conventionalcommits config treats as version-bumping. The fleet symptom: release PRs whose only payload is a dev-only bump (rector, phpunit, composer-normalize) or a reusable-workflow update — noise releases that ship nothing user-facing.

Verified

Tested on openCoreEMR/release-please-test:

  • fix(deps): → added under Bug Fixes in the next release PR (patch bump)
  • chore(deps-dev): → absent from release PR (no bump)
  • chore(ci): → absent from release PR (no bump)

Test plan

  • Merge.
  • Wait for the next Dependabot run.
  • Confirm new PRs use fix(deps) / chore(deps-dev) / chore(ci) prefixes.
  • Confirm release-please does not open a release PR for chore(...)-only changes.

…ime updates

Runtime deps -> fix(deps) (patch bump).
Dev deps     -> chore(deps-dev) (no bump).
GH Actions / reusable workflows -> chore(ci) (no bump).

Verified on openCoreEMR/release-please-test that release-please honors
these prefixes: only fix(deps) lands in the next release PR; chore(deps-dev)
and chore(ci) are excluded from version bumping.
@kojiromike kojiromike added dependencies Pull requests that update a dependency file github-actions GitHub Actions ecosystem labels May 18, 2026
Copy link
Copy Markdown

@msummers42 msummers42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved as bulk process of identical changesets

@kojiromike kojiromike merged commit 141bdec into main May 18, 2026
2 checks passed
@kojiromike kojiromike deleted the kojiromike/dependabot-prefixes branch May 18, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github-actions GitHub Actions ecosystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants