Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 774 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 774 Bytes

About

It notifies GitHub issue created event to Slack.

Environment

  • Google Cloud Functions

Usage

  1. Copy ./config.json.sample to ./config.json
  2. Edit ./config.json
  3. Deploy to Google Cloud Functions
  4. Setting GitHub Webhooks
    • Open repo
    • Select Webhooks
    • Select Add webhook
      • Payload URL: Cloud Function URL
      • Content type: application/json
      • Let me select individual events > Issues
      • Add webhook

Deploy Command

$ gcloud functions deploy notifyGithubIssueToSlack --trigger-http --runtime=nodejs8