Repository navigation
Fix agentic issue triage auth token to allow threat_detection - #55352
Merged
Merged
Conversation
|
Azure Pipelines: Successfully started running 2 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the agentic Issue Triage workflow configuration to provide a Copilot auth token to the threat_detection phase, addressing failures where threat detection can’t authenticate to the Copilot provider.
Changes:
- Adds a
safe-outputs.threat-detection.engine.envmapping to passCOPILOT_GITHUB_TOKENto the threat detection engine. - Updates the generated workflow lock file to reflect the new safe-outputs configuration and detection metadata.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/issue-triage.md | Adds threat-detection safe-outputs env configuration for Copilot authentication. |
| .github/workflows/issue-triage.lock.yml | Regenerated gh-aw compiled workflow reflecting the new threat detection safe-outputs/env wiring. |
…ound Bump gh-aw to v0.82.9 and recompile issue-triage and add-tactics-template-on-comment. The detection job now gains pat_pool in its needs (github/gh-aw#43917 fix in dotnet#44202), so threat detection authenticates with the pooled Copilot PAT instead of resolving to an empty token. Also route GitHub tools and Safe Outputs through the CLI proxy (tools.cli-proxy + github.mode: gh-proxy) to avoid the awmg-mcpg native HTTP MCP firewall denial (github/gh-aw#45915).
nagilson
force-pushed
the
fix-issue-triage-detection-pat
branch
from
July 17, 2026 22:37
3de104a to
b5affd9
Compare
nagilson
marked this pull request as ready for review
July 17, 2026 22:47
|
Azure Pipelines: Successfully started running 2 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
jeffhandley
approved these changes
Jul 17, 2026
jeffhandley
left a comment
Member
There was a problem hiding this comment.
Looks great! I noticed safe_outputs does not gain needs: pat_pool, but I confirmed it doesn't actually need it because it doesn't invoke an agent itself.
This was referenced Jul 18, 2026
This was referenced Jul 19, 2026
This branch had an error being deployed
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.
The
pat_poolenv also needs to be added to thethreat_detectionsafe_outputson agentic workflows.I'm seeing threat detection fail which causes this scary looking comment on aw outputs:

#55350
Set COPILOT_GITHUB_TOKEN or COPILOT_PROVIDER_API_KEY to enable this provider.It seems like this was an issue on the sdk
tacticsworkflow as well as its also hitting503.This was fixed in recent builds:
github/gh-aw#43917
github/gh-aw#43918
They are addressed in newer versions but the new versions have another bug.
github/gh-aw#45915
I've applied a patch to fix that bug as well, based upon github/gh-aw#45915 (comment).
Summary
awversion to fix a bug so that theenvapplies toneeds, and thusthreat_detectionawversion does not surface