diogoscf / github-lines

A minimal and non-intrusive multi-platform bot to display lines from GitHub (or GitLab) links
MIT License
60 stars 10 forks source link

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

Closed Darylgolden closed 7 months ago

Darylgolden commented 3 years ago

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.

onedr0p commented 3 years ago

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

diogoscf commented 3 years ago

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

Darylgolden commented 3 years ago

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