Find way to "submit" issues, PRs and comments directly to #action in Slack
janpio opened this issue · comments
Right now one has to manually copy/paste an issue, PR or comment that requires some input to the #action channel in Slack. It would be nice if one could just include #action
at the end of a message to automatically trigger this. The bot could then post a link and the text of the message.
Discussed in Slack, problem would be to save the "I posted this to Slack" state for the bot. Otherwise every time it runs it will post the message again.
Solutions could be:
- Bot adds a label when done. Problem is that labels are per issue/PR and not comment.
- Add state to the bot so he knows which comments he already posted. Problem: Adds complexity and requires one definitive bot installation.
:/
- Remove the
#action
from the message (very easy to implement) - Replace it with
#action-sent
(easy to implement)
I'm thinking of replacing this with something clearer, as people would get confused by it, something like #send-to-slack
, what do you say?
I don't think editing a comment from a user is a great idea tbh
Well, this should be only used by collaborators, not any user. Also, #50 already edits comments 😄
Create a bot or webhook integration for Slack. Monitor your platform (e.g., GitHub) for new issues, PRs, or comments. When a message with "#action" is detected, have the bot send a notification with the link and text to the #action channel in Slack. TellTims Survey
Create a bot or webhook integration for Slack. Monitor your platform (e.g., GitHub) for new issues, PRs, or comments. When a message with "#action" is detected, have the bot send a notification with the link and text to the #action channel in Slack.
Bot reply ☝️