Repository navigation
Clarify PAT requirements for Copilot assignment - #80686
Conversation
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. The No-op messageNo action needed: PR #80686 (Clarify PAT requirements for Copilot assignment) changes only docs/src/content/docs/reference/auth.mdx (3 additions, 3 deletions). No Go (_test.go) or JavaScript (.test.cjs, *.test.js) test files were added or modified, so the Test Quality Sentinel has nothing to score. Pre-fetch data matched the PR head SHA b778c7b.
|
There was a problem hiding this comment.
🟢 Approval recommended
The review found no active issues, and the documentation changes clearly distinguish PAT-only authentication from GitHub App-supported safe outputs and document the token fallback configuration.
No open issues 🎉
What changed in this PR
Clarifies authentication requirements for the assign-to-agent safe output, distinguishing its PAT-only requirement from safe outputs that support GitHub App tokens.
Changes:
- Documents token configuration options and the
GH_AW_AGENT_TOKEN || GH_AW_GITHUB_TOKEN || GITHUB_TOKENfallback chain. - Links to the Copilot Cloud Agent authentication caution.
- Restricts GitHub App guidance to safe outputs that support App tokens.
| File | Description |
|---|---|
| docs/src/content/docs/reference/auth.mdx | Updates authentication guidance for Copilot assignment, token fallback configuration, and GitHub App-supported safe outputs. |
Review effort: Lite (adaptive)
The Authentication reference implied that a GitHub App could authenticate Copilot assignment, although
assign-to-agentrequires a PAT. It now names the supported credentials and fallback chain.assign-to-agent.github-token, thesafe-outputs.github-tokenoverride, and theGH_AW_AGENT_TOKEN || GH_AW_GITHUB_TOKEN || GITHUB_TOKENfallback. Link to the Copilot Cloud Agent authentication caution.