Giter VIP home page Giter VIP logo

issue-bot's Introduction

GitHub Issues Bot

This is a Slack + GitHub + Airtable Application, written in Node.js, on Standard Library, that helps you manage issues on GitHub. It sends a message to Slack when a new issue is opened on GitHub. The message will let you add/remove assignees of the issue.

Deploying this Application

You can deploy this Slack App to Standard Library by clicking this button:

You'll be asked to log in and be brought to a screen that looks something like this:

Before you can deploy the app, you need to link you Airtable, GitHub and Slack accounts.

Airtable

Before you link your Airtable account, you need to create a base for this app. You can make one from a template here. Once you create a copy of the base. Click the Link Resource button. Make sure you choose the base you just created when you are linking your account.

GitHub

Click the Link Resource button. You'll be asked to install the Build on Standard Library application onto your account, or an organization that you have access to.

Slack

Click Link Resource and follow the instructions to build and link a Slack app.

Note: Once deployed, you will still need to create the /add_user command separately in your Slack app dashboard. For the slash command's request URL, enter https://<username>.events.stdlib.com/.

Creating your add_user Command on Slack

You can create your add_user command by visiting api.slack.com/apps, selecting your app, then clicking Slash commands on the left sidebar.

Click Create Command and fill out your command information. You'll want to use /add_reviewer as the command name and https://<username>.events.stdlib.com/ as the URL, where <username> is your Standard Library username.

Click Save in the bottom right to proceed.

Note: For your slash command to work, your bot needs to be in the channel its called from. You can invite your bot to a channel by typing @<bot_name>.

Set your Options Load URL

Next click Interactive Components on the left sidebar. Scroll down to "Message Menus" and set the "Options Load URL" to be: https://<username>.api.stdlib.com/issue-bot@dev/message_menu/

Where <username> is your Standard Library username.

That's it, you're all done! Your Slack app should be ready to go.

Thank You!

Please check out Standard Library or follow us on Twitter, @StdLibHQ.

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.