Git Product home page Git Product logo

watch-github-labels's Introduction

Watch GitHub Labels

Watch GitHub repos for new issues with specific labels.

Setup

  1. Clone this repo

    git clone https://github.com/jack-lewin/watch-github-labels.git

    cd watch-github-labels

  2. Edit watching.json to select the labels you're watching.

    [
      {
        "owner": "facebook",
        "repo": "react",
        "labels": [
          "Difficulty: beginner",
          "Type: Bug"
        ]
      },
      {
        "owner": "microsoft",
        "repo": "vscode",
        "labels": [
          "beginner"
        ]
      }
    ]
    
  3. Create a new applet on IFTTT.

    If you don't already have an account, you can join at https://ifttt.com/join.

    Click on create an applet and enter the following recipe:

    • if 'Webhooks' -> receive a web request -> NEW_ISSUE

    • then 'Email' -> send me an email

      (Subject: value1, Body: value2)

  4. Create a new Heroku app and deploy the application.

    For instructions on doing this, see 'Getting Started on Heroku with Node.js'.

  5. Define the following config variables:

    GITHUB_OAUTH - to authenticate with the GitHub API (https://github.com/settings/tokens).

    MAKER_KEY - to authenticate with your IFTTT applet (https://ifttt.com/services/maker_webhooks/settings).

    INTERVAL_TIME - how often you want to check for new issues (mins). Default: 30.

  6. Install and configure the 'Heroku Scheduler' add-on.

    Run npm start at the interval you chose in step 5.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.