knl / niv-updater-action

A GitHub Action that creates meaningful pull requests with updates to your niv-managed dependencies, so you don't have to do menial chores.
BSD 3-Clause "New" or "Revised" License
29 stars 11 forks source link

Reformat mentions to reduce spamming of mentioned developers #31

Closed knl closed 4 years ago

knl commented 4 years ago

If the changelog contains anyones username (@ + username), GitHub will dutifully notify that person that they have been mentioned. This is not nice for our generated changelogs, as it spams people and brings no value (the mention is not intentional). To retain the display, yet avoid notification, we print '@' followed by an UNICODE WORD JOINER character (that has zero width, but prevents splitting at this boundary), followed by the username.

infinisil commented 4 years ago

Neat!