Skip to content

Clarify PAT requirements for Copilot assignment - #80686

Merged
pelikhan merged 2 commits into
mainfrom
copilot/enterprise-docs-fix-authentication-page
Nov 24, 2026
Merged

pelikhan merged 2 commits into
mainfrom
copilot/enterprise-docs-fix-authentication-page

Conversation

@gh-aw-bot

@gh-aw-bot gh-aw-bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

The Authentication reference implied that a GitHub App could authenticate Copilot assignment, although assign-to-agent requires a PAT. It now names the supported credentials and fallback chain.

  • Assignment credentials: Document assign-to-agent.github-token, the safe-outputs.github-token override, and the GH_AW_AGENT_TOKEN || GH_AW_GITHUB_TOKEN || GITHUB_TOKEN fallback. Link to the Copilot Cloud Agent authentication caution.
  • GitHub App guidance: Clarify that Apps apply only to safe outputs that support App tokens.
safe-outputs:
  assign-to-agent:
    github-token: ${{ secrets.GH_AW_AGENT_TOKEN }}

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@gh-aw-bot gh-aw-bot changed the title [WIP] Fix authentication page to clarify GitHub App usage for Copilot assignments Clarify PAT requirements for Copilot assignment Nov 24, 2026
@pelikhan
pelikhan marked this pull request as ready for review November 24, 2026 11:59
Copilot AI adaptive review requested due to automatic review settings November 24, 2026 11:59
@pelikhan
pelikhan merged commit 4eabf53 into main Nov 24, 2026
7 checks passed
@pelikhan
pelikhan deleted the copilot/enterprise-docs-fix-authentication-page branch November 24, 2026 11:59
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

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 [aw] No-Op Runs tracker omits agent messages. The category uses structured run status, not interpretation of agent prose.

No-op message

No 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.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ⊞ 7.4K · history

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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_TOKEN fallback 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[enterprise-docs] Authentication page lists GitHub App as a credential option for Copilot assignment safe outputs

4 participants