Skip to content

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

Merged
merged 2 commits into from
May 29, 2025

Conversation

xbinaryx
Copy link
Contributor

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

Copy link

@Copilot Copilot AI left a 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 an issues.opened handler to add assignees
  • Registers the plugin in src/plugins/index.js and enables it in src/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

nzakas
nzakas previously approved these changes May 27, 2025
Copy link
Member

@nzakas nzakas left a 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.

@nzakas
Copy link
Member

nzakas commented May 27, 2025

Please check the test failures.

@nzakas nzakas added this to Triage May 27, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage May 27, 2025
@nzakas nzakas moved this from Needs Triage to Implementing in Triage May 27, 2025
Copy link
Contributor

@snitin315 snitin315 left a 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

@snitin315 snitin315 moved this from Implementing to Second Review Needed in Triage May 29, 2025
Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@nzakas nzakas merged commit da839b4 into eslint:main May 29, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Second Review Needed to Complete in Triage May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

Automatically assign an issue when checkbox is checked
3 participants