Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions workshop/images/06-03b-token-precedence-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 62 additions & 0 deletions workshop/images/06-03b-token-precedence-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions workshop/side-quest-06-03b-copilot-github-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ This method stores a [Personal Access Token](https://github.github.com/gh-aw/ref

If you want an all-UI path with no terminal commands, use [Method 2 (UI-only)](side-quest-06-03c-copilot-github-token-ui-only.md).

The engine checks one workflow permission before it ever looks at the secret:

<picture>
<source media="(prefers-color-scheme: dark)" srcset="images/06-03b-token-precedence-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="images/06-03b-token-precedence-light.svg">
<img alt="Token precedence decision: when a workflow's copilot-requests write permission is present, the engine uses built-in inference and ignores the COPILOT_GITHUB_TOKEN secret; when that permission is absent, the engine reads the secret instead" src="images/06-03b-token-precedence-light.svg">
</picture>

## :clipboard: Before You Start

- You have a GitHub account with an active Copilot subscription.
Expand Down
Loading