mudman1986/Auto Assign Copilot to Issues
Automatically assigns GitHub Copilot to issues based on priority labels and configurable rules
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token with permissions to read issues and assign users. Requires issues:write permission. | yes | — |
| mode | Assignment mode: 'auto' for priority-based assignment or 'refactor' for creating/assigning refactor issues | no | auto |
| label-override | Priority label to filter by (auto mode only). Leave empty for default priority order: bug, documentation, refactor, enhancement | no | "" |
| required-label | Label that must be present on an issue before it is eligible for auto-assignment. Only users with write access can add labels, providing access control. Set to empty string to disable this security feature. | no | copilot-approved |
| force | Force assignment even if Copilot already has an issue assigned | no | false |
| dry-run | Dry run mode - log what would be done without making changes | no | false |
| allow-parent-issues | Allow assigning issues that have sub-issues (open or closed) | no | false |
| skip-labels | Comma-separated list of labels to skip (e.g., 'no-ai,refining') | no | no-ai,refining |
| refactor-threshold | Number of closed issues to check for refactor label. Default: 4 means 1 in 5 ratio (check last 4, create refactor if none found) | no | 4 |
| create-refactor-issue | Whether to create new refactor issues when none are available. Default: true (create refactor issues) | no | true |
| refactor-issue-template | Path to the issue template file for refactor issues. If not provided, uses built-in default content. | no | — |
| wait-seconds | Number of seconds to wait before assigning an issue when triggered by issue events (e.g., issue closed). Allows for a grace period for manual assignment. Default: 300 (5 minutes) | no | 300 |
| refactor-cooldown-days | Number of days to wait before creating a new auto-created refactor issue if any auto-created refactor issue was closed within this timeframe. Set to 0 to disable cooldown. Default: 7 days | no | 7 |
Outputs
| name | description |
|---|---|
| assigned-issue-number | Number of the issue that was assigned to Copilot (empty if no assignment) |
| assigned-issue-url | URL of the issue that was assigned to Copilot (empty if no assignment) |
| assignment-mode | The effective mode used for assignment (auto or refactor) |