Skip to content

feat(workflow): introduce slash-command based issue triage#511

Merged
Harxhit merged 1 commit into
Dev-Card:mainfrom
Harxhit:feat/workflow-assign-reviewer
Jun 9, 2026
Merged

feat(workflow): introduce slash-command based issue triage#511
Harxhit merged 1 commit into
Dev-Card:mainfrom
Harxhit:feat/workflow-assign-reviewer

Conversation

@Harxhit

@Harxhit Harxhit commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds an automated issue triage workflow that validates issue descriptions, routes issues using slash commands, and automatically applies area labels. This helps streamline issue management and ensures issues are categorized consistently.


Type of Change

  • Bug fix
  • New feature
  • Refactor (no functional change)
  • UI / Design change
  • Tests only
  • Documentation
  • Infrastructure / DevOps
  • Security

What Changed

  • Added a GitHub Actions workflow that runs when issues are opened and when issue comments are created or edited.

  • Added validation for missing issue descriptions and automated feedback for issue authors.

  • Added slash-command based classification:

    • /backend
    • /web
    • /mobile
    • /devops
  • Automatically applies labels based on the selected classification.

  • Prevents issues from being classified multiple times after a routing label has been applied.

  • Ignores comments from bots and unrelated discussion comments.

  • Notifies the appropriate reviewer after classification.


How to Test

  1. Create a new issue with a valid description.
  2. Verify the workflow comments with available classification commands.
  3. Comment /backend, /web, /mobile, or /devops.
  4. Verify the corresponding label is added.
  5. Verify the routing comment is posted.
  6. Verify normal comments do not trigger classification.
  7. Verify the workflow ignores bot comments.

Checklist

  • My code follows the project's coding style (pnpm -r run lint passes).
  • TypeScript compiles without errors (pnpm -r run typecheck).
  • I have added or updated tests for the changes I made.
  • All tests pass locally (pnpm -r run test).

Workflow Overview

Issue Created
      │
      ▼
Validate Description
      │
      ▼
Request Classification
      │
      ├─ /backend
      ├─ /web
      ├─ /mobile
      └─ /devops
             │
             ▼
       Apply Label
             │
             ▼
      Notify Reviewer

@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

@Harxhit is attempting to deploy a commit to the Prashantkumar Khatri's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Harxhit Harxhit added devops gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking. labels Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

CI — All Checks Passed

Backend — SKIP

Check Result
Lint -
Test -
Typecheck -

Mobile — SKIP

Check Result
Lint -
Test -

Web — SKIP

Check Result
Check -
Build -

Last updated: Tue, 09 Jun 2026 06:01:36 GMT

@Harxhit Harxhit requested a review from ShantKhatri June 9, 2026 06:02

@ShantKhatri ShantKhatri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@Harxhit Harxhit merged commit 43c1e7c into Dev-Card:main Jun 9, 2026
6 of 7 checks passed
@Harxhit Harxhit added level:advanced Complex contribution involving deeper technical work. (+55 pts) quality:exceptional Outstanding contribution with excellent implementation quality. (×1.5 multiplier) type:performance Performance optimization (+15 pts) type:devops CI/CD, infra, deployment, workflow work (+15 pts) type:feature New feature implementation (+10 pts) labels Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking. level:advanced Complex contribution involving deeper technical work. (+55 pts) quality:exceptional Outstanding contribution with excellent implementation quality. (×1.5 multiplier) type:devops CI/CD, infra, deployment, workflow work (+15 pts) type:feature New feature implementation (+10 pts) type:performance Performance optimization (+15 pts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants