-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to massage pnpm release notes #16921
Comments
Hi there, Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Here's our reproduction! 😉 |
After investigating and debugging this issue, seems like there are some '\n' missing when getting release notes by 'getChangelogs()'.
as a result of this change, I found another issue in: renovate/lib/modules/platform/github/massage-markdown-links.ts Lines 21 to 55 in 5a9f2cd
this function should return an array that contains all the links in prbody , every object in this array contains from which character the link starts, ends, and what should the link be replaced with.
so after debugging I found that the The problem is when running
the but if I copy this value and check it in regex101 I see that there are some characters does not appear in so when getting the |
blocked by: #17404 |
How are you running Renovate?
Mend Renovate hosted app on github.com
If you're self-hosting Renovate, tell us what version of Renovate you run.
No response
Please select which platform you are using if self-hosting.
No response
If you're self-hosting Renovate, tell us what version of the platform you run.
No response
Was this something which used to work for you, and then stopped?
It used to work, and then stopped
Describe the bug
Renovate fails to massage issue links in the
What's Changed
section of pnpm release notes, leading to autolinks, e.g., renovatebot/docker-buildpack#338.It seems to be caused by an HTML table; the raw release note is as follows:
Relevant debug logs
Raw Release Note
Have you created a minimal reproduction repository?
No reproduction, but I have linked to a public repo where it occurs
The text was updated successfully, but these errors were encountered: