From 63f3d6c9b1f5a9a41484794e901affaafba896c7 Mon Sep 17 00:00:00 2001 From: Charlike Mike Reagent <5038030+olstenlarck@users.noreply.github.com> Date: Thu, 16 Nov 2017 06:31:18 +0200 Subject: [PATCH 1/2] add triage-new-issues app Adds `triage` label to newly-created issues and then removes it when other label(s) are added. https://github.com/tunnckoCore/triage-new-issues Screenshots: https://imgur.com/a/fLX9Z --- _apps/triage-new-issues.md | 63 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 _apps/triage-new-issues.md diff --git a/_apps/triage-new-issues.md b/_apps/triage-new-issues.md new file mode 100644 index 0000000..018e505 --- /dev/null +++ b/_apps/triage-new-issues.md @@ -0,0 +1,63 @@ +--- +# A human-friendly name of your listing +title: Triage New Issues + +# A short description of what your app does +description: Adds `triage` label to newly-created issues and then removes it when other label(s) are added + +# The slug of your hosted app on GitHub (https://github.com/apps/YOUR-SLUG) +slug: triage-new-issues + +# Include a few screenshots that show your app in action +screenshots: +- https://i.imgur.com/bdbDaPz.png +- https://i.imgur.com/HMndYuP.png +- https://i.imgur.com/fOp0Est.png +- https://i.imgur.com/ldrHDzZ.png + +# The GitHub usernames of anyone who authored the app +authors: [ tunnckoCore, olstenlarck ] + +# The repository where the code is located +repository: tunnckoCore/triage-new-issues + +# The address where this app is deployed +host: https://triage-new-issues.now.sh +--- + + +## Use programmatically + +Install it using [**yarn**](https://yarnpkg.com) **v1** or above / [**npm**](https://www.npmjs.com) **v5** or above. + +``` +$ yarn add {%= name %} +``` + +## Install it to your profile + +Go to https://github.com/apps/triage-new-issues and click the green "install" button. + +Very much appreciated the work of **Gyandeep Singh ([@gyandeeps](https://github.com/gyandeeps))** on +the plugin for the [ESLint's GitHub Bot](https://github.com/eslint/eslint-github-bot/tree/4dd943a51b415b0b2053b4a4ae75a4e9244fcb09/src/plugins/triage)! + +In addition to it, to safe UI clicking and time, I just added ability to auto-remove `triage` label when another label is added. + +## Deploying + +We hosting it on https://triage-new-issues.now.sh/, but if you want to host it yourself + +1. Decide where to host +2. Check out [Probot Docs on deploying](https://probot.github.io/docs/development/) +3. Make sure your deployment service run the `start` script + +**ProTip:** If you choose to host on [Now](www.now.sh), check `now secrets help` + +**Note:** As of 15 November 2017, deploying on Now needs this workaround - [probot/probot#318](https://github.com/probot/probot/issues/318#issuecomment-343010573) + +## Screenshots + +![](https://i.imgur.com/bdbDaPz.png) +![](https://i.imgur.com/HMndYuP.png) +![](https://i.imgur.com/fOp0Est.png) +![](https://i.imgur.com/ldrHDzZ.png) From 76154a4b0ecd5eb75b53e39dcab6fb657b9a66d1 Mon Sep 17 00:00:00 2001 From: Charlike Mike Reagent <5038030+olstenlarck@users.noreply.github.com> Date: Sun, 26 Nov 2017 16:48:42 +0200 Subject: [PATCH 2/2] Update triage-new-issues.md --- _apps/triage-new-issues.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_apps/triage-new-issues.md b/_apps/triage-new-issues.md index 018e505..072da2e 100644 --- a/_apps/triage-new-issues.md +++ b/_apps/triage-new-issues.md @@ -31,7 +31,7 @@ host: https://triage-new-issues.now.sh Install it using [**yarn**](https://yarnpkg.com) **v1** or above / [**npm**](https://www.npmjs.com) **v5** or above. ``` -$ yarn add {%= name %} +$ yarn add triage-new-issues ``` ## Install it to your profile