Add bot for triaging issues #1859
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces a GitHub Actions bot used for triaging issues - checking an issue template, assigning labels, and checking for reproduction. Its purpose is to save time on reviewing and replying to incomplete issues.
GitHub Actions code responsible for these actions can be found here: https://github.com/software-mansion-labs/swmansion-bot
Changes
Added
needs-more-info.yml- an action used for checking whether the issue template fields are filledAdded
needs-repro.yml- an action used for checking whether the issue has a snack, GitHub repo, or a snippet of JavaScript/TypeScript codeAdded
platforms.yml- an action that assigns labels to user-selected platforms in the issue templateAdded
close-when-stale.yml- an action that closes an issue after 20 days of inactivity if it has theAbandonedlabelAdded
Missing info&Repro providedlabelneeds-reproaction is triggered both by issue creation/edition and by comments. To prevent bot responses to old issues optional propcheck-issues-only-created-afteris set to 1 February 2022. This will assure that this action will be triggered only by comments on issues created after 2022-02-01.Screenshots
Example bot response on an empty template ⬇️
The bot responds to the current state of the issue whenever a user edits the issue template ⬇️
And removes comment whenever problems with the template are resolved ⬇️