Skip to content

Commit 7c07cd9

Browse files
ci(release-drafter): escape @ and # in PR-title release notes
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.
1 parent 44c86e6 commit 7c07cd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/release_drafter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ categories:
2828
- title: '📝 Documentation'
2929
label: 'documentation'
3030
change-template: '- $TITLE(#$NUMBER)@$AUTHOR'
31-
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
31+
change-title-escapes: '\<*_&@#' # escape @ and # so decorator/issue refs in PR titles (e.g. `@schema`) don't render as spurious mentions/links in release notes.
3232
template: |
3333
$CHANGES
3434

0 commit comments

Comments
 (0)