github-lines icon indicating copy to clipboard operation
github-lines copied to clipboard

Automatically link Github issue/PR when issue/PR numbered is typed

Open Darylgolden opened this issue 4 years ago • 3 comments

It would be helpful, for example if I type a message with a issue/PR number like #5, that the bot sends a link to that issue/PR.

Darylgolden avatar Apr 19 '21 05:04 Darylgolden

#5 would be a reference to what thou? How would the bot know what repo to look for that PR/issue number?

onedr0p avatar May 08 '21 21:05 onedr0p

GitHub automatically collapses links to just the number if it's the same repo, I'm guessing they meant a link like https://github.com/diogoscf/github-lines/issues/5

diogoscf avatar May 08 '21 23:05 diogoscf

You could have the user specify a default repo, and have the bot link to that.

Darylgolden avatar May 09 '21 07:05 Darylgolden