Skip to content

chore: Add automated issue triage workflow#16275

Open
Copilot wants to merge 3 commits intodevelopfrom
copilot/add-agent-workflow-triage-issue
Open

chore: Add automated issue triage workflow#16275
Copilot wants to merge 3 commits intodevelopfrom
copilot/add-agent-workflow-triage-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 7, 2026

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 details
  • spam — heuristic signals (25+ keyword patterns, > 5 URLs, body almost entirely links): posts a polite "looks unrelated" comment
  • triaged — everything else: labels and moves on

Spam 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

  • Uses actions/github-script@v7 (already in use across the repo)
  • Runs on ubuntu-24.04-arm consistent with other workflows
  • Skips bot-authored issues via if: github.event.issue.user.type != 'Bot'

Tagging: @ohcnetwork/care-fe-code-reviewers

Merge Checklist

  • Add specs that demonstrate the bug or test the new feature.
  • Update product documentation.
  • Ensure that UI text is placed in I18n files.
  • Prepare a screenshot or demo video for the changelog entry and attach it to the issue.
  • Request peer reviews.
  • Complete QA on mobile devices.
  • Complete QA on desktop devices.
  • Add or update Playwright tests for related changes

Copilot AI and others added 2 commits April 7, 2026 07:36
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>
@NikhilA8606 NikhilA8606 marked this pull request as ready for review April 7, 2026 08:20
@NikhilA8606 NikhilA8606 requested review from a team and Copilot April 7, 2026 08:20
Copy link
Copy Markdown

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 Triage workflow triggered on issues: 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>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 7, 2026

Deploying care-preview with  Cloudflare Pages  Cloudflare Pages

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

View logs

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

🎭 Playwright Test Results

Status: ⏭️ Skipped

No test-related files were changed in this PR.

Tests are skipped when changes don't affect:

  • tests/**
  • src/**
  • package.json
  • playwright.config.ts

Run: #8133

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants