ai-triage refactor to only post issue comments (no PR's)#913
Merged
Conversation
tracyboehrer
requested review from
a team,
ceciliaavila and
sw-joelmut
as code owners
July 15, 2026 13:46
tracyboehrer
enabled auto-merge
July 15, 2026 13:46
Contributor
There was a problem hiding this comment.
Pull request overview
Refactors the repository’s AI issue triage automation to only post issue comments/labels (no branch creation, no PR creation), and to re-run on subsequent issue comments to refine the triage when new information arrives.
Changes:
- Extend the triage workflow to trigger on
issue_comment: created(while avoiding PRs and avoiding loops on the agent’s own comments). - Update the triage prompt to enforce “comments only” output and to support follow-up runs that may stay silent if nothing changed.
- Remove the PR-based “Copilot review response” workflow and its prompt; update setup docs accordingly.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/issue-triage-agent.yml | Adds issue_comment trigger and refines gating so triage runs on labeled issues + follow-up comments without creating PRs. |
| .github/workflows/copilot-review-response.yml | Deletes the PR-review-response workflow now that triage no longer creates PRs. |
| .github/prompts/issue-triage.md | Updates the agent instructions to be comments-only and adds follow-up-run behavior for new issue comments. |
| .github/prompts/copilot-review-response.md | Deletes the PR-review-response agent prompt. |
| .github/ISSUE_TRIAGE_AGENT.md | Updates documentation to reflect the new comments-only triage flow and setup requirements. |
Address Copilot review: GitHub operations (read issue, comment, label) now use the workflow-scoped GITHUB_TOKEN governed by the permissions block, limiting the PAT's blast radius. The PAT is used solely for Copilot model auth. Docs updated to drop the unneeded repository PAT permissions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 78966d30-c65a-4a7f-b20e-c848db059298
MattB-msft
previously approved these changes
Jul 16, 2026
Member
|
/azp run |
|
Commenter does not have sufficient privileges for PR 913 in repo microsoft/Agents-for-net |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
tracyboehrer
disabled auto-merge
July 17, 2026 14:03
tracyboehrer
enabled auto-merge
July 17, 2026 14:05
MattB-msft
approved these changes
Jul 17, 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.
No description provided.