Skip to content

chore: make chore/refactor/docs/style commits release-worthy - #94

Merged
perfectra1n merged 1 commit into
mainfrom
chore/release-please-changelog-sections
Jul 13, 2026
Merged

chore: make chore/refactor/docs/style commits release-worthy#94
perfectra1n merged 1 commit into
mainfrom
chore/release-please-changelog-sections

Conversation

@perfectra1n

Copy link
Copy Markdown
Owner

Release-please has been running green on every push to main but never opening a release PR. It was not broken — it was correctly reporting No user facing commits found since 666318f - skipping.

Root cause

release-please-config.json declared no changelog-sections, so it inherited the defaults, where chore, refactor, docs and style are hidden: true. That same hidden flag is what decides whether a commit is user-facing, i.e. whether it warrants a release at all — not just whether it shows up in the changelog. Every commit landed on main since v0.3.2 has been a chore: or refactor:, so there was never anything for release-please to propose.

home-operations/kopiur opens release PRs for these commits because it ships an explicit changelog-sections block that un-hides them. This mirrors that.

Changes

  • release-please-config.json — add changelog-sections, un-hiding feat / fix / perf / revert / docs / style / chore / refactor, and keeping test / build / ci / deps hidden.
  • renovate.json — set semanticCommitType: deps (and drop the scope) so dependency bumps land as deps: ... rather than chore(deps): .... Without this, un-hiding chore would make every auto-merged Renovate PR user-facing and cut a patch release, publishing to crates.io and ghcr each time.

Verification

release-please release-pr --dry-run against this branch now builds a candidate v0.3.3 containing #92 and #93, and updates CHANGELOG.md, Cargo.toml, Cargo.lock and .release-please-manifest.json. The same command against main skips.

Merging this makes the Release workflow open a v0.3.3 release PR; merging that cuts the tag, GitHub Release, binaries, crates.io publish and ghcr image.

Note

Renovate vulnerabilityAlerts bumps are now deps:-typed and therefore hidden too, so a security dependency bump will not cut a release on its own — it rides along with the next release. Flip deps to hidden: false if you would rather ship those immediately.

release-please's default changelog-sections hide chore/refactor/docs/style,
and that same hidden flag decides whether a commit is user-facing. With no
sections configured, every commit since v0.3.2 was invisible and no release
PR was ever opened.

Un-hide them (mirroring home-operations/kopiur) and retype Renovate's commits
to deps: so auto-merged dependency bumps stay hidden and don't each cut a
patch release.
@perfectra1n
perfectra1n merged commit 6fb1467 into main Jul 13, 2026
8 checks passed
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