Skip to content

Conversation

@kacperkapusciak
Copy link
Member

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 filled

  • Added needs-repro.yml - an action used for checking whether the issue has a snack, GitHub repo, or a snippet of JavaScript/TypeScript code

  • Added platforms.yml - an action that assigns labels to user-selected platforms in the issue template

  • Added close-when-stale.yml - an action that closes an issue after 20 days of inactivity if it has the Abandoned label

  • Added Missing info & Repro provided label

needs-repro action is triggered both by issue creation/edition and by comments. To prevent bot responses to old issues optional prop check-issues-only-created-after is 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 ⬇️

image

The bot responds to the current state of the issue whenever a user edits the issue template ⬇️

image

And removes comment whenever problems with the template are resolved ⬇️

image

@jgonet jgonet changed the title feat: add swmansion bot Add bot for triaging issues Jan 31, 2022
@kacperkapusciak kacperkapusciak merged commit 0a444f0 into main Feb 1, 2022
@kacperkapusciak kacperkapusciak deleted the @kacperkapusciak/add-swmansion-bot branch February 1, 2022 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants