Skip to content

Commit a28f2d2

Browse files
patnikoCopilot
andcommitted
Pass RUNTIME_TRIAGE_TOKEN to GitHub tools for cross-repo reads
The agent's GitHub MCP tools need the PAT to read files from copilot-agent-runtime. The github-token under safe-outputs only applies to safe output jobs, not the agent itself. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ee18f6e commit a28f2d2

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/cross-repo-issue-analysis.lock.yml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/cross-repo-issue-analysis.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ permissions:
1616
tools:
1717
github:
1818
toolsets: [default]
19+
github-token: ${{ secrets.RUNTIME_TRIAGE_TOKEN }}
1920
edit:
2021
safe-outputs:
2122
github-token: ${{ secrets.RUNTIME_TRIAGE_TOKEN }}

0 commit comments

Comments
 (0)