Skip to content

Add preconfigured Copilot authentication to gh aw add-wizard #45986

Description

@mnkiefer

When GitHub Actions copilot-requests authentication is available, gh aw add-wizard should use the organization's Copilot billing. No personal access token or COPILOT_GITHUB_TOKEN secret is needed.

When it is unavailable, the wizard should open a preconfigured GitHub fine-grained PAT creation page. The page must prefill the token name and request only the required Copilot Requests: Read-only permission, so the user only needs to review and consent to create the token. The wizard should also support advance consent, allowing setup to continue without an additional confirmation gate if the users choses to. After token creation, it collects the token through masked input, validates the github_pat_ format, and stores it securely as the COPILOT_GITHUB_TOKEN repository secret.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions