Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find way to "submit" issues, PRs and comments directly to #action in Slack #52

Open
janpio opened this issue Dec 18, 2017 · 7 comments
Open

Comments

@janpio
Copy link
Member

janpio commented Dec 18, 2017

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.

@janpio
Copy link
Member Author

janpio commented Dec 18, 2017

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:

  1. Bot adds a label when done. Problem is that labels are per issue/PR and not comment.
  2. Add state to the bot so he knows which comments he already posted. Problem: Adds complexity and requires one definitive bot installation.

:/

@revolter
Copy link
Collaborator

  1. Remove the #action from the message (very easy to implement)
  2. 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?

@KrauseFx
Copy link
Member

I don't think editing a comment from a user is a great idea tbh

@janpio
Copy link
Member Author

janpio commented Dec 18, 2017

Option #3 from @revolter, combined with a whitelist of users that are part of some fastlane team. Only makes sense to be used by people in Slack anyway. Additionally, wait at least 5 min to make sure user doesn't want to edit comment any more.

@revolter
Copy link
Collaborator

Well, this should be only used by collaborators, not any user. Also, #50 already edits comments 😄

@Chelsearowley
Copy link

Chelsearowley commented Aug 24, 2023

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

@rogerluan
Copy link
Member

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 ☝️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants