Skip to content

Release notes: @name in commit bodies becomes a GitHub mention #71

Todo

Description

@petschki

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

  1. petschki commented on Dec 2, 2026

    @petschki
    MemberAuthor

    Here's an old release as example. The contributor @patternslib is mentioned because it came from Let pnpm trust @patternslib packages

    https://github.com/plone/mockup/releases/tag/5.6.15

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions