chore: Add automated issue triage workflow#16275
Open
Conversation
Agent-Logs-Url: https://github.com/ohcnetwork/care_fe/sessions/2dc4822f-1fc8-4886-9943-533b972097da Co-authored-by: NikhilA8606 <115739037+NikhilA8606@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ohcnetwork/care_fe/sessions/2dc4822f-1fc8-4886-9943-533b972097da Co-authored-by: NikhilA8606 <115739037+NikhilA8606@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
NikhilA8606
April 7, 2026 08:02
View session
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an automated GitHub Actions workflow to triage newly opened issues into needs-info, spam, or triaged, helping reduce manual maintenance overhead in the CARE frontend repo.
Changes:
- Introduces a new
Issue Triageworkflow triggered onissues: opened. - Adds heuristics to detect low-information issues and likely spam, and posts standardized comments.
- Applies corresponding labels (
needs-info/spam/triaged) based on classification.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Deploying care-preview with
|
| Latest commit: |
67d4b90
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a05f44be.care-preview-a7w.pages.dev |
| Branch Preview URL: | https://copilot-add-agent-workflow-t.care-preview-a7w.pages.dev |
🎭 Playwright Test ResultsStatus: ⏭️ Skipped No test-related files were changed in this PR. Tests are skipped when changes don't affect:
Run: #8133 |
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.
Adds a GitHub Actions workflow that automatically classifies newly opened issues into one of three buckets without manual intervention.
What it does
needs-info— body < 100 chars: posts a comment requesting steps to reproduce, expected/actual behavior, screenshots, and environment detailsspam— heuristic signals (25+ keyword patterns, > 5 URLs, body almost entirely links): posts a polite "looks unrelated" commenttriaged— everything else: labels and moves onSpam heuristics
Keyword list covers gambling, crypto/forex scams, SEO link-building, adult content, and unsolicited promotions. URL density checks catch issues that are little more than link dumps.
Implementation notes
actions/github-script@v7(already in use across the repo)ubuntu-24.04-armconsistent with other workflowsif: github.event.issue.user.type != 'Bot'Tagging: @ohcnetwork/care-fe-code-reviewers
Merge Checklist