Skip to content

ai-triage refactor to only post issue comments (no PR's)#913

Merged
tracyboehrer merged 5 commits into
mainfrom
users/tracyboehrer/ai-triage-refactor
Jul 17, 2026
Merged

ai-triage refactor to only post issue comments (no PR's)#913
tracyboehrer merged 5 commits into
mainfrom
users/tracyboehrer/ai-triage-refactor

Conversation

@tracyboehrer

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 15, 2026 13:46
@tracyboehrer
tracyboehrer requested review from a team, ceciliaavila and sw-joelmut as code owners July 15, 2026 13:46
@tracyboehrer
tracyboehrer enabled auto-merge July 15, 2026 13:46
@github-actions github-actions Bot added the Build: Automation Tags changes to Build Automation area label Jul 15, 2026

Copilot AI 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.

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.

Comment thread .github/workflows/issue-triage-agent.yml Outdated
Comment thread .github/ISSUE_TRIAGE_AGENT.md Outdated
Comment thread .github/ISSUE_TRIAGE_AGENT.md Outdated
Tracy Boehrer and others added 3 commits July 15, 2026 08:59
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
MattB-msft previously approved these changes Jul 16, 2026
@MattB-msft

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 913 in repo microsoft/Agents-for-net

@MattB-msft

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@tracyboehrer
tracyboehrer merged commit 7764498 into main Jul 17, 2026
16 checks passed
@tracyboehrer
tracyboehrer deleted the users/tracyboehrer/ai-triage-refactor branch July 17, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build: Automation Tags changes to Build Automation area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants