Feature Description
Relevant files: .github/workflows/ • .github/scripts/moderate-contributions.cjs
Description:
Chore Description
Currently, assignment is fully manual: moderate-contributions.cjs closes PRs that don't reference an issue assigned to the author, but there is no automation to actually assign issues. Contributors must wait for a maintainer to manually assign them before they can open a valid PR.
Motivation / Use Case
Proposed Solution
Add a GitHub Actions workflow (e.g., .github/workflows/auto-assign.yml) that listens to issue_comment events and:
- Detects a comment containing
/assign (case-insensitive, leading-slash).
- Assigns the commenting user to the issue via
github.rest.issues.addAssignees.
- Comments back confirmation, e.g.
@user, you've been assigned! Please open a PR referencing this issue within 7 days.
- Ignores maintainers / already-assigned issues, and requires commenter to have a valid GitHub account (non-bot).
- Prevent double-assignment: if someone else is already assigned, reply that the issue is taken.
Alternatives Considered
Acceptance Criteria
Additional Context
Feature Description
Relevant files:
.github/workflows/•.github/scripts/moderate-contributions.cjsDescription:
Chore Description
Currently, assignment is fully manual:
moderate-contributions.cjscloses PRs that don't reference an issue assigned to the author, but there is no automation to actually assign issues. Contributors must wait for a maintainer to manually assign them before they can open a valid PR.Motivation / Use Case
Proposed Solution
Add a GitHub Actions workflow (e.g.,
.github/workflows/auto-assign.yml) that listens toissue_commentevents and:/assign(case-insensitive, leading-slash).github.rest.issues.addAssignees.@user, you've been assigned! Please open a PR referencing this issue within 7 days.Alternatives Considered
Acceptance Criteria
/assignon any open unassigned issue assigns the commenter/assignon an assigned issue does not overwrite the assigneeAdditional Context