ci(release-drafter): escape @ and # in release-note PR titles#1475
Merged
Conversation
PR titles that mention a decorator (e.g. `@schema`) or an issue (e.g. `feat(#1425):`) were rendering as live GitHub mentions/links in the drafted release notes — the `@schema` in #1467's title showed up as a spurious "Schema" contributor on the v2.3.0 draft. Add @ and # to change-title-escapes (the config comment already documents this) so title text stays literal while the template's real $AUTHOR credit and (#PR) link are unaffected.
MilagrosMarin
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On the drafted v2.3.0 release notes,
@schemafrom PR #1467's title ("refresh ~lineage on every@schemadecoration") rendered as a live GitHub user mention, so "Schema" showed up as a contributor/co-author on the release. Same mechanism auto-links the#1425/#1429/… issue refs inside conventional-commit titles.Cause
release_drafter.yaml'schange-title-escapeswas'\<*_&'— it omits@and#, so mention/issue text inside PR titles renders live. The config comment already notes: "You can add # and @ to disable mentions."Fix
change-title-escapes: '\<*_&@#'. Title text stays literal; the template's real@$AUTHORcredit and the(#$NUMBER)PR link are unaffected (those come from the template, not the escaped title).Takes effect the next time the draft workflow runs. The current v2.3.0 draft body was hand-corrected separately for this release.