PR review companion adds noisy GitHub links between issues and PRs #12211
Labels
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
pr-companion
PR review companion for content PRs
On each new pull request, the PR companion leaves a comment with preview URLs. One of the features of the comment is a list of external links in each docs page. This has the unintended side effect that PRs will be linked on GitHub.com, even if the PR content / motivation is unrelated.
Example outcome:
Check
https://github.com/httpwg/http-core/issues/26
for example. Have a look at the occurrences of[github-actions](https://github.com/apps/github-actions) bot mentioned this issue
events. This HTTPWG issue is referenced in prose in a docs page. Every PR that modifies this page creates a link back to the PR because of the bot preview URLs comment. In most cases, this is not helpful.Suggestion:
Consider wrapping
github.com/*/*/pulls/[0-9]+
andgithub.com/*/*/issues/[0-9]+
links in backticks instead of allowing the raw URLs to be passed through.Problem area:
yari/deployer/src/deployer/analyze_pr.py
Lines 162 to 176 in 450e433
The text was updated successfully, but these errors were encountered: