chore: set min-integrity on issue-triage agentic workflow#66207
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Issue Triage Agent agentic workflow configuration so it can read and triage newly opened issues even when the issue author/content is below the default integrity threshold.
Changes:
- Configure the workflow’s GitHub tool with
min-integrity: noneto allow reading user-submitted issue content. - Regenerate the compiled lock workflow to reflect the updated integrity/guard configuration.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/issue-triage-agent.md |
Sets github.min-integrity: none in the workflow frontmatter so the agent can read issue details regardless of author integrity. |
.github/workflows/issue-triage-agent.lock.yml |
Regenerated workflow lock output; updates MCP guard policy configuration to align with the new integrity setting. |
| "approval-labels": ${{ steps.parse-guard-vars.outputs.approval_labels }}, | ||
| "blocked-users": ${{ steps.parse-guard-vars.outputs.blocked_users }}, | ||
| "min-integrity": "none", | ||
| "repos": "all", | ||
| "trusted-users": ${{ steps.parse-guard-vars.outputs.trusted_users }} |
There was a problem hiding this comment.
The GitHub MCP server guard policy is now hard-coded to allow "repos": "all". This broadens what the agent can read to any repository accessible by the configured token, which is likely more than this issue-triage workflow needs (it should only need dotnet/aspnetcore). Consider constraining the allowed repos (e.g., to the current repository) while keeping min-integrity: none so untrusted issues can still be read.
Today depending on the rights of the user creating issue, workflow may decide to not post the results, since user does not have collaborator role on the repo. Example:
It is safe to set min-integrity for issue-triage, since this is a readonly workflow, and allows only placing labels and a single comment on the issue.
Closes #66191