Repository navigation
Add agentic workflow for new-issue triage - #201
Open
JanuszNowak with Copilot wants to merge 3 commits into
Open
JanuszNowak with Copilot wants to merge 3 commits into
JanuszNowak with Copilot wants to merge 3 commits into
Conversation
Co-authored-by: JanuszNowak <5168275+JanuszNowak@users.noreply.github.com>
Co-authored-by: JanuszNowak <5168275+JanuszNowak@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved security, validation, duplicate-detection, and clarification-path issues must be addressed.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Adds an agentic workflow to triage newly opened issues through classification, labeling, prioritization, duplicate detection, clarification, and routing.
Changes:
- Adds source and compiled workflow artifacts.
- Constrains issue mutations through safe outputs.
- Marks compiled lock files as generated.
File summaries
| File | Summary |
|---|---|
.github/workflows/issue-triage.md |
Defines triage behavior and guardrails; unresolved issues remain around output targeting, duplicate pagination, priority validation, and clarification handling. |
.github/workflows/issue-triage.lock.yml |
Compiled workflow artifact consumed by GitHub Actions. |
.gitattributes |
Marks compiled workflow lock files as generated. |
Review details
Suppressed comments (3)
.github/workflows/issue-triage.md:102
- This guardrail conflicts with the required clarification branch above: an underspecified issue is also likely to be judged as having insufficient evidence to act safely, so the agent can call
noopand skip thequestionlabel and clarifying comment. That would defeat the workflow's stated missing-information behavior; limitnoopto already-triaged cases and direct incomplete-but-safe reports to the clarification branch.
- If the issue is already clearly triaged or there is not enough evidence to act safely, call `noop` with a short reason.
.github/workflows/issue-triage.md:85
- The PR description promises that only high-confidence duplicates are closed, but this branch only says “true duplicate,” and the generated
close_issueschema accepts an optional confidence without requiringHIGH. A merely overlapping issue could therefore be closed. Require strong evidence andconfidence: HIGHfor the close output; otherwise leave the issue open and usenoop.
- If the issue is a true duplicate:
- add the `duplicate` label
- post a short comment that links to the canonical issue and explains the overlap
- close the triggering issue as a duplicate of that canonical issue
.github/workflows/issue-triage.md:31
allowed-fieldsonly constrains the field name; the compiled validation leavesvalueas an arbitrary string. The agent can therefore emit a value outsideUrgent,High,Medium, orLow, causing the write to fail or storing a value outside the policy. Add an allowed-value validation or post-processing check for those four options before applying this output.
set-issue-field:
allowed-fields: [Priority]
- Files reviewed: 2/3 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Clarify usage of `gh` commands for issue triage. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
JanuszNowak
approved these changes
Sep 28, 2026
|
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.



This adds a GitHub Agentic Workflow to triage newly opened issues. The workflow classifies issues by type and priority, detects likely duplicates, asks for missing information when reports are underspecified, and routes actionable issues to the repository owner.
Workflow
.github/workflows/issue-triage.mdas the source workflow forissues.openedroles: allTriage actions
Bug,Feature, orTaskbug,enhancement,documentation,question, andduplicatePriorityfield toUrgent,High,Medium, orLowRouting and duplicate handling
JanuszNowakCompiled workflow artifacts
*.lock.ymlworkflow artifacts as generated in.gitattributes