A GitHub App built with Probot that A GitHub App built with probot that automatically closes issues that do not follow the issue template of a GitHub project
- Install the bot on the intended repositories. The plugin requires the following Permissions and Events:
- Pull requests: Read & Write
- check the box for Pull Request events
- Issues: Read & Write
- check the box for Issue events
- Add a
.github/config.yml
file that contains the following:
# The comment the bot will make in the repo before
# closing the issue
requestInfoReplyComment: The maintainers of this repository require that you fill out the issue template correctly. # Default
# Only close issues that have the label 'bug'
requireBugLabel: true # Default
# If any one of these titles is not included, the issue will automatically be closed
requiredHeaders:
- Prerequisites
- Expected Behavior
- Current Behavior
- Possible Solution
- Your Environment
# Install dependencies
yarn
# Run the bot
yarn start
If you have suggestions for how require-bug-details could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
MIT © 2018-present Electron React Boilerplate