Summary
Enable contributors to self-assign issues and pull requests using a simple /assign command, reducing maintainer workload and speeding up task ownership.
Contexts
Currently, assigning issues or PRs requires manual action from maintainers, which can slow down collaboration. By implementing a GitHub Action that listens to /assign commands in comments, contributors can take ownership of tasks instantly.
The system should support assigning the commenter or a specified GitHub user, while handling edge cases like invalid usernames, bot comments, and duplicate assignments.
Tasks
Acceptance Criteria
Area
backend
Difficulty
Medium
Summary
Enable contributors to self-assign issues and pull requests using a simple
/assigncommand, reducing maintainer workload and speeding up task ownership.Contexts
Currently, assigning issues or PRs requires manual action from maintainers, which can slow down collaboration. By implementing a GitHub Action that listens to
/assigncommands in comments, contributors can take ownership of tasks instantly.The system should support assigning the commenter or a specified GitHub user, while handling edge cases like invalid usernames, bot comments, and duplicate assignments.
Tasks
Create GitHub Action workflow (
.github/workflows/assign.yml)Parse
/assigncommand from issue/PR commentsImplement logic for:
/assign→ assign commenter/assign @username→ assign mentioned userIntegrate GitHub REST API for assignment
Add validation (ignore bots, invalid users, duplicates)
Add confirmation comment after assignment
(Optional) Restrict usage to contributors/org members
Acceptance Criteria
/assignassigns the commenter correctly/assign @usernameassigns the specified userArea
backendDifficulty
Medium