-
-
Notifications
You must be signed in to change notification settings - Fork 20
feat: automatically assign issues to users willing to submit PRs #219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a new “auto-assign” plugin that checks an issue template checkbox and automatically assigns the issue author if they indicate willingness to submit a PR.
- Implements
isWillingToSubmitPR
helper and anissues.opened
handler to add assignees - Registers the plugin in
src/plugins/index.js
and enables it insrc/app.js
- Provides tests covering both checked and unchecked scenarios
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
tests/plugins/auto-assign/index.js | Adds tests for assigning (or not) based on checkbox |
src/plugins/index.js | Registers the autoAssign plugin |
src/plugins/auto-assign/index.js | Implements plugin logic for detecting checkbox and assigning |
src/app.js | Enables autoAssign in the app’s plugin configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks! Would like another review before merging.
Please check the test failures. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Leaving it open for @nzakas
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
This PR adds a new plugin that automatically assigns issues to users who have checked the "I am willing to submit a pull request to implement this change" checkbox in the issue template.
Closes #218