feat: add automated triage workflow for community issues#377
Merged
Conversation
- Adds a GitHub Actions workflow that fires when an issue is opened - Checks `author_association` from the webhook payload to determine if the author is an `OWNER`, `MEMBER`, or `COLLABORATOR` - For external contributors: adds a `needs-triage` label and posts a welcome comment thanking them and asking for reproduction details - Maintainers/owners/collaborators opening issues are unaffected
There was a problem hiding this comment.
✅ Approved
This PR adds a well-structured GitHub Actions workflow for automated community issue triage.
Review Summary
No blocking issues found.
What Was Reviewed
- Workflow Logic: Correctly checks
author_associationfrom the webhook payload to identify external contributors - Security: Properly scoped permissions (
issues: write), usessecrets.GITHUB_TOKEN, no injection vulnerabilities - CLAUDE.md Compliance: N/A - this is a YAML workflow file, not TypeScript code requiring license headers, tests, etc.
- DDD Principles: N/A - infrastructure automation, not domain code
Minor Suggestions (Non-blocking)
- Consider documenting the workflow in the repo's contributing guidelines so maintainers know issues from external contributors will get the
needs-triagelabel automatically - The
needs-triagelabel will be auto-created if it doesn't exist, but you may want to pre-create it with a description and color for consistency
The implementation is clean, follows GitHub Actions best practices, and serves its intended purpose well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
author_associationfrom the webhook payload to determine if the author is anOWNER,MEMBER, orCOLLABORATORneeds-triagelabel and posts a welcome comment thanking them and askingfor reproduction details