Notify me in Slack if I'm mentioned in a Github issue
@pravin
code:
data:privatelast updated:5 years ago
@pravin/
Notify me in Slack if I'm mentioned in a Github issue

To run this workflow

  1. Fork this workflow into your account
  2. Add your Github username to to the Parse User Mentions In Github Issues step (don't include the @ sign before your username)
  3. Create an incoming webhook to send a message to a channel in Slack and add the URL to the Send a message to Slack step
  4. Save your changes
  5. Configure Github webhooks for your organization or repository (see detailed instructions below)

Test with a sample event

This workflow is configured with the following sample event:

{
    "issue": {
        "title": "test issue",
        "body": "@example this is a test",
        "url": "https://api.github.com/repos/example/example/issues/1",
        "number": 1,
        "user": {
            "login": "creator_username"
        }
    },
    "sender": {
        "login": "sender_username"
    },
    "action": "opened"
}

To test, follow steps 1-4 above, but set the username in Step 2 to example (or update the sample event in the test event editor).

Github webhook settings

  • Set the Payload URL to your Pipedream webhook URL (e.g., https://xxxxxx.m.pipedream.net)
  • Set the Content Type to application/json
  • At minimum, configure Github to send events for Issues and Issue comments

github settings

About Pipedream

Pipedream is an automation platform for developers.

  • Integrate your data, APIs, and cloud services in minutes
  • Build and run any workflow, based on any trigger, with no infrastructure
  • Iterate quickly with built-in observability, automatic versioning and instant deploys

pipedream