From f954aca07e75f9ced173e281aaa6ec7e8b6c57f1 Mon Sep 17 00:00:00 2001 From: Ken Sodemann Date: Fri, 31 Aug 2018 21:17:26 -0500 Subject: [PATCH] chore(bot): implement the noReply automated workflow (#15373) --- .github/PROCESS.md | 42 +++++++++++++++++++++++++++++++++++++ .github/ionic-issue-bot.yml | 18 ++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/.github/PROCESS.md b/.github/PROCESS.md index 796631ab7b..50df31f086 100644 --- a/.github/PROCESS.md +++ b/.github/PROCESS.md @@ -29,3 +29,45 @@ Issues and pull requests that need review. Pull requests will automatically move #### Done :tada: Issues and pull requests that are completed. Issues will automatically move here when they are closed. Pull requests will automatically moved here when they are merged or closed with unmerged commits. + +## Managing Issues + +### Issues to Triage + +The issues that need to be triaged all have the `triage` label. In many cases the issue can be automatically processed by the Ionic Issue Bot by applying a specific label. + +Once another label is applied to the issue, the `triage` label is automatically be removed by the bot. + +### Wrong Repo + +If an issue does not pertain to the Ionic Framework but does pertain to another repo, it should be moved to that repo. The bot has been set up to automatically create the issue in other repositories while closing and locking the issue in this repository. Use one of the following labels to perform that action: + +- ionitron: cli +- ionitron: docs +- ionitron: stencil +- ionitron: native + +### Ionic Pro Issues + +If the issue is associated with Ionic Pro the submitter should be told to use the [Ionic Pro Support Forum](https://ionic.zendesk.com/hc/en-us/requests/new). The issue should be closed and locked. Use the `ionitron: ionic pro` label to accomplish this. + +### Support Questions + +If the issue is a support question, the submitter should be redirected to our [forum](https://forum.ionicframework.com) or [slack channel](https://ionicworldwide.herokuapp.com/). The issue should be closed and locked. Use the `ionitron: support` label to accomplish this. + +### Incomplete Template + +If the issue template has not been filled out completely, the issue should be closed and locked. The submitter should be informed top re-submit the issue making sure they fill the form out completely. Use the `ionitron: missing template` label to accomplish this. + +### Issues with Open Questions + +In many cases, the template is mostly filled out but just missing a thing or two or you may have a question or need clarification. In such a case, the submitter should be asked to supply that information. + +1. create a comment requesting the additional information or clarification +1. add the `needs reply` label to the task + +NOTE: be sure to perform those actions in the order stated. If you add the comment second it will trigger the removal of the label. + +If there is a response to the question, the bot will remove the `needs reply` and apply the `triage` label. The issue will then go through the triage handling again. + +if there is no response within 30 days, the issue will be closed and locked. diff --git a/.github/ionic-issue-bot.yml b/.github/ionic-issue-bot.yml index 5e6d716326..d083728ace 100644 --- a/.github/ionic-issue-bot.yml +++ b/.github/ionic-issue-bot.yml @@ -48,6 +48,24 @@ stale: template is fully filled out. + Thank you for using Ionic! + close: true + lock: true + dryRun: false + +noReply: + days: 30 + maxIssuesPerRun: 100 + label: needs reply + responseLabel: triage + exemptProjects: true + exemptMilestones: true + message: > + Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still + an issue with the latest version of Ionic, please create a new issue and ensure the + template is fully filled out. + + Thank you for using Ionic! close: true lock: true