Skip to content

Add Auto-Assign Issue workflow#151

Draft
github-actions[bot] wants to merge 1 commit intomainfrom
add-auto-assign-issue-0dc021c9e14d219e
Draft

Add Auto-Assign Issue workflow#151
github-actions[bot] wants to merge 1 commit intomainfrom
add-auto-assign-issue-0dc021c9e14d219e

Conversation

@github-actions
Copy link
Contributor

This PR adds the Auto-Assign Issue workflow from Peli's Agent Factory to help automatically distribute work by assigning unassigned issues to relevant contributors.

Phase 1: Consistency Check ✅

All consistency checks passed:

  • ✅ Workflows ↔ Docs: All 21 workflow files have matching docs
  • ✅ Docs ↔ README: All 21 docs are listed in README
  • ✅ Docs style consistency maintained
  • ✅ No typos or grammar issues found

Phase 2: Workflow Discovery

Source

Original workflow: .github/workflows/daily-assign-issue-to-user.md in gh-aw repository

Why This Workflow?

Perfect generalizability:

  • ✅ Works for any repository with GitHub Issues
  • ✅ Zero language or framework dependencies
  • ✅ Simple, focused scope (43 lines in original, 59 generalized)
  • ✅ Uses only standard GitHub APIs
  • ✅ Fills a functional gap - no existing auto-assignment in agentics

Practical value:

  • Automatically assigns the oldest unassigned issue to a relevant contributor
  • Matches contributors based on their recent merged PRs
  • Adds friendly explanatory comments
  • Runs daily but can be triggered manually
  • Only assigns ONE issue per run to avoid overwhelming contributors

Conservative design:

  • Respects exclusion labels (ai-generated, no-bot)
  • Skips bot-opened issues
  • Thoughtful contributor matching based on issue type
  • Safe, gradual work distribution

Generalization Approach

What was removed:

  • shared/mood.md import (not in base agentics)
  • Campaign label exclusions specific to gh-aw
  • gh-aw specific constraints

What was kept:

  • Core assignment logic and criteria
  • Contributor matching algorithm
  • Simple, clear scope
  • Safe outputs for assignment and comments

What was enhanced:

  • More detailed documentation
  • Clear guidelines for contributors
  • Explicit assignee checking logic
  • Customization tips

Files Added

  • workflows/auto-assign-issue.md - Workflow definition
  • docs/auto-assign-issue.md - Comprehensive documentation
  • README.md - Added to Triage Workflows section

Testing Recommendation

After merge, monitor the first few assignments to ensure good contributor matching. Adjust exclusion labels or matching logic as needed based on your repository's patterns.

AI generated by Daily Repo Goal Achiever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants