Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get a slack notification if mentioned on Github

Zapier has a very cool feature you can add which will send a slack notification every time you are mentioned on github.

https://zapier.com/apps/github/integrations/slack/1596/send-a-github-new-mention-to-slack-as-a-new-message

Unfortunately it is not a free service. Does anyone have a way to add this kind of integration directly with slack or something else? It would be really useful for my work environment.

like image 744
tgreen Avatar asked Jan 11 '18 23:01

tgreen


People also ask

How do I get Slack notifications from GitHub?

Visit GitHub in the Slack App Directory. Click Install, or Add Configuration if one already exists. Select a channel where GitHub events will be posted, or click create a new channel to make a brand new one. Click Add GitHub Integration.

How do I get notifications from GitHub?

In the left sidebar, under the list of repositories, use the "Manage notifications" drop-down to click Notification settings. On the notifications settings page, choose how you receive notifications when: There are updates in repositories or team discussions you're watching or in a conversation you're participating in.


1 Answers

UPDATE: This is how you do it in a Github Native way:

  1. Install the Github Slack app
  2. Go to your settings/reminders
  3. Select the org you care about
  4. click Enable real-time alerts
  5. select You are mentioned in a comment

enter image description here


While it doesn't seem like github's slack app will do what you're asking for yet (track this issue for future updates), But I've found 2 alternatives:

  1. this example using pipedream integrations. The good news is that pipedream is free, but the bad news is that pipedream is free.
  2. Using PullReminders's pullpanda as explained in this comment (unclear if still functional after GitHub acquired the company behind PullReminders, though). If this works, it should be free.

You won't have to pay, but I have no idea about the security aspects of integrating with a free 3rd party that has no commitment or clear incentive to keep your system secure.

like image 86
Joey Baruch Avatar answered Oct 17 '22 16:10

Joey Baruch