You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release notes: @name in commit bodies becomes a GitHub mention #71
The GitHub release of Mockup 5.7.0-alpha.4 listed three "Contributors" who have nothing to do with Mockup: Patternslib, InQuirer and fileupload.
GitHub reads every @name in the release notes as a mention and lists the mentioned accounts as contributors. The three came from commit bodies:
"@patternslib projects are close to the Plone community …"
"… brings newer @inquirer packages along"
"(/plone/plone/@@fileUpload)", a Plone view name
For commit subjects conventional-changelog already turns @name into a normal link. For the body and footer, which release-it/conventional-changelog-commit.js adds, nothing does that.
I fixed the release notes by hand (backticks around the three places).
Question: Could the commit partial neutralise @ in body and footer, e.g. by wrapping @name, @scope/package and @@view in backticks?
A plain regex is not enough, I tried one. It has to skip text that is already in a code span, and it has to catch @@view after a slash.
Activity
petschki commentedon Dec 2, 2026
Here's an old release as example. The contributor
@patternslibis mentioned because it came fromLet pnpm trust @patternslib packageshttps://github.com/plone/mockup/releases/tag/5.6.15