renovatebot / renovate

Home of the Renovate CLI: Cross-platform Dependency Automation by Mend.io
https://mend.io/renovate
GNU Affero General Public License v3.0
16.47k stars 2.11k forks source link

Release notes: Massage !123 markdown-links for GitLab platform - like Github #29934

Open rarkins opened 2 days ago

rarkins commented 2 days ago

Discussed in https://github.com/renovatebot/renovate/discussions/29894

Originally posted by **MaxWinterstein** June 27, 2024 Currently there is a lot of massaging in the PR Description going on, like rewriting github.com references to togithub.com for backlink prevention and more. The GitLab platform is missing this functionality which leads to e.g. wrong backlinks within the same repo: When the changelog contains simple relative reference like `!123` the Merge Request will ping his neighbour Merge Request with id `123`, even it is years old. (Originally posted as discussion https://github.com/renovatebot/renovate/discussions/29892)
rarkins commented 2 days ago

Renovate currently looks for #123 and not !123. The best thing we can do is wrap such patterns in backticks to prevent the linking.