x/build/cmd/gopherbot: reply to unversioned urls with permalink #25345
It seems to be a frequent occurrence that non-versioned github urls with line numbers are included in issues. These links make investigations more time consuming when code inevitably changes.
The problematic pattern is:
I would guess that a quarter of these match that pattern.
Let's say there are 3 primary categories of non-versioned code urls with line number(s):
3 is very much in our control and is discussed in #14062.
To avoid spam, maybe this would only respond to the body of a new issue - not any comments.
The message could be something like:
The text was updated successfully, but these errors were encountered: