Skip to content

chore(release): add Build & Tooling category and create the missing release-note labels - #82

Open
SomethingNew71 wants to merge 1 commit into
mainfrom
chore/release-note-categories
Open

chore(release): add Build & Tooling category and create the missing release-note labels#82
SomethingNew71 wants to merge 1 commit into
mainfrom
chore/release-note-categories

Conversation

@SomethingNew71

Copy link
Copy Markdown
Collaborator

Follow-up to #81, where a security and dependency release was filed under "🔄 Other Changes".

The actual cause

Not a missing category — 🔒 Security and 📦 Dependencies were already configured. GitHub's
generated release notes categorise by the pull request's labels only; they never look at commit
messages or PR titles. PR #81 carried no labels, so it fell through the "*" catch-all.

Worse, 21 of the labels this config referenced had never been created in the repo — including
security, maintenance, parser, ui, docs, test and deps. Most categories here could
therefore never match anything, and the failure is silent: notes still generate, just in the wrong
bucket.

All 21 now exist, plus build / ci / tooling for the new category (created directly, no code
change needed). A header comment on the file records that labels are the mechanism, so the next
person does not re-diagnose this.

New category

🏗️ Build & Tooling — edition migrations, toolchain moves, and release-workflow changes.
Previously these had to be filed under Maintenance or fall through to Other. v2.12.1 alone had a
Rust edition 2024 migration and four GitHub Actions major bumps with nowhere to go.

Verified

release.yml parses cleanly (12 categories), and every label referenced by the config — including
the two exclude entries — now resolves to a real label in the repo.

PR #81 has been labelled retroactively (security, dependencies, bug, build) so the
historical record and the v2.12.0...v2.12.1 compare view are correct.

…abels

The v2.12.1 notes filed a security and dependency release under "Other
Changes". The cause was not a missing category — 🔒 Security and 📦 Dependencies
were already configured — but that GitHub categorises release notes by the pull
request's labels only, and 21 of the labels this config referenced had never
been created in the repo. An unlabelled PR falls through the "*" catch-all, so
most of these categories could never match anything.

All 21 missing labels now exist (security, fix, maintenance, parser, ui, docs,
test, deps and the rest), plus build/ci/tooling for the new category. Added a
header comment recording that labels are the mechanism, since the failure mode
is silent — the notes generate successfully, just in the wrong bucket.

New 🏗️ Build & Tooling category covers edition migrations, toolchain moves and
release-workflow changes, which previously had to land in Maintenance or fall
through to Other. This release had a Rust edition 2024 migration and four
GitHub Actions major bumps with nowhere to go.
Copilot AI lite review requested due to automatic review settings August 12, 2026 17:46
@SomethingNew71 SomethingNew71 added the chore Chore label Aug 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates GitHub’s release-notes configuration to correctly bucket changes based on pull request labels, preventing unlabelled PRs from silently falling into the "*" catch-all.

Changes:

  • Adds an explanatory header comment documenting that GitHub release notes categorization is label-driven.
  • Introduces a new “🏗️ Build & Tooling” category keyed off build, ci, and tooling labels.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants