Skip to content

Commit 4eabf53

Browse files
authored
Clarify PAT requirements for Copilot assignment (#80686)
1 parent f2e7552 commit 4eabf53

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎docs/src/content/docs/reference/auth.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ Workflows using the following **read** operations from GitHub require [Additiona
6060
- **Read from projects**
6161
- **GitHub tools remote mode**
6262

63-
Workflows using the following features of [Safe Outputs](/gh-aw/reference/safe-outputs/) require additional authentication, via either a secret containing a PAT or GitHub App:
63+
Workflows using the following features of [Safe Outputs](/gh-aw/reference/safe-outputs/) require additional authentication. Use a PAT or GitHub App unless noted otherwise:
6464
- [**Safe outputs writing cross-repo**](/gh-aw/reference/safe-outputs/#cross-repository-operations)
65-
- [**Safe outputs assigning Copilot coding agent to issues/PRs**](/gh-aw/reference/copilot-cloud-agent/)
65+
- [**Safe outputs assigning Copilot coding agent to issues/PRs**](/gh-aw/reference/copilot-cloud-agent/) — **PAT required; GitHub App tokens are not supported.** Configure `github-token:` under `assign-to-agent` or at the `safe-outputs` level, or set the `GH_AW_AGENT_TOKEN` secret. Without an explicit token, resolution tries `GH_AW_AGENT_TOKEN || GH_AW_GITHUB_TOKEN || GITHUB_TOKEN`. See the [Copilot Cloud Agent authentication caution](/gh-aw/reference/copilot-cloud-agent/#using-a-github-app).
6666
- [**Safe outputs updating GitHub Projects**](/gh-aw/patterns/project-ops/#project-token-authentication)
6767
- [**Safe outputs triggering CI on PRs**](/gh-aw/reference/triggering-ci/)
6868

@@ -575,7 +575,7 @@ Possible endpoint, account, model, or policy mismatch; this error alone does not
575575

576576
For enhanced security with short-lived tokens, you may configure a GitHub App instead of using PATs.
577577

578-
This does not apply to `COPILOT_GITHUB_TOKEN`, which must currently be a PAT. A single GitHub App can be used for all other GitHub authentication needs in GitHub Agentic Workflows, including tool authentication and safe outputs.
578+
This does not apply to `COPILOT_GITHUB_TOKEN`, which must currently be a PAT. A single GitHub App can be used for other GitHub authentication needs in GitHub Agentic Workflows, including tool authentication and safe outputs that support GitHub App tokens.
579579

580580
After creating your app, configure it in your workflow:
581581

0 commit comments

Comments
 (0)