Skip to content

Release drafter: exclude release-train merge PRs from release notes - #15780

Open
rossops wants to merge 1 commit into
devfrom
release-drafter-exclude-release-management
Open

Release drafter: exclude release-train merge PRs from release notes#15780
rossops wants to merge 1 commit into
devfrom
release-drafter-exclude-release-management

Conversation

@rossops

@rossops rossops commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Description

Our drafted release notes currently include lines like - Release: Merge release into master from: release/3.2.300 and - Release: Merge back 3.2.201 into dev from: .... Those are just the wrappers around the real changes, which already get their own lines. This PR drops them.

release-drafter can't filter by title text, but it doesn't have to. All three release workflows (release-1-create-pr.yml, release-3-master-into-dev.yml) already tag their PRs with release-management, so this adds that label to exclude-labels in .github/release-drafter.yml.

Side benefit: those merge PRs also pick up labels like New Migration and settings_changes from the path labeler, so today they show up under those flagged sections too. They won't anymore.

Does it exclude anything else?

I checked. Every PR that has ever carried release-management (80 in total) is a release-train merge. The only one whose title doesn't match the two patterns above is #14800, "Release 2.58.0: Merge Bugfix into Dev", which is the same kind of PR under an older title. Nothing else applies the label.

Test results

Config-only change, no code to test. It can be checked by running the "Release Drafter (custom range)" workflow with dry-run: true before the next real draft.

Documentation

None needed.

🤖 Generated with Claude Code

The "Release: Merge release into master" and "Release: Merge back x.y.z"
PRs are wrappers around the real changes, and the real changes already
have their own entries. Excluding by the release-management label (which
only the release workflows apply) removes the wrapper lines. It also
stops those PRs from showing up under flagged sections like New Migration
or settings_changes, which they picked up from the auto-labeler.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014PVsx4Seb8RU6nGt51E34T
@rossops rossops added this to the 3.3.0 milestone Aug 24, 2026
@rossops
rossops changed the base branch from dev to master August 24, 2026 16:20
@rossops
rossops changed the base branch from master to dev August 24, 2026 16:21
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.

1 participant