GitHub Multi-Item Interactor
Overview
This app helps users interact with multiple GitHub items (i.e. issues, PRs, etc.) at once.
Currently, this app allows you to comment on and close the GitHub items.
How to Use
-
Go to a Heroku instance of the app
-
Enter your Personal GitHub API Token for the repo Note: If you're working with public repos, at the very least your token needs to have
repo:public_repo
access -
Enter repo name following a format: [ORG_NAME/REPO_NAME]. To illustrate, for "https://github.com/nodejs/node" only enter "nodejs/node"
-
Enter GH items to process. It can be a single issue/PR, or multiple (comma delimited). For example, for issue A and a pull request B, you can enter "1,5". Note: You can combine pull request and issues in a single request Note: Find case number in the URL, or a heading of your GH Issue or PR Note: Do not enter more than 2500 GH items at once to prevent hitting the max API rate on GitHub
-
If you want to close the GH items entered in the previous step, check the checkbox for "Close Items?". By default, the items are not closed. Note: If you are working with already closed items, this checkbox will do nothing (i.e. it won't close the items)
-
Enter a comment for your GH items Note: If the field is left empty, no comment will be made on the GH issues Note: If the items are already closed, the comment will still be posted.
Running Locally
Since this project involves using a personal API token for Github, its understandable if you want to run the app locally rather than trusting my instance on Heroku.
To run the app locally:
-
Clone the repo:
git clone git@github.com:dmitryvinn/gh-multi-interactor.git
-
In the project's directory, install
npm
packagesnpm install
-
Run the app:
npm start
-
Go to
http://localhost:5000/
Miscellaneous
Special thanks to Joel Marcey for an idea for this project.