Repository navigation
[workshop-diagrams] Add theme-aware explanatory diagram for PAT-to-workflow authentication flow - #4033
Closed
github-actions[bot] wants to merge 1 commit into
Closed
[workshop-diagrams] Add theme-aware explanatory diagram for PAT-to-workflow authentication flow#4033github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Add a light/dark SVG pair illustrating how a fine-grained PAT becomes the COPILOT_GITHUB_TOKEN secret and how the agentic workflow engine reads it at run time to authenticate to the Copilot API. Insert a theme-aware <picture> reference in the Method 2 (UI-only) side quest. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
This pull request was automatically closed because it expired on 2026-10-02T02:49:52.628Z.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
workshop/side-quest-06-03c-copilot-github-token-ui-only.mdworkshop/images/side-quest-06-03c-token-secret-flow-light.svgworkshop/images/side-quest-06-03c-token-secret-flow-dark.svgWhy this diagram helps learners
This side quest walks learners through four sequential actions — generate a fine-grained PAT, store it as the
COPILOT_GITHUB_TOKENrepository secret, and have the workflow engine read that secret at run time to authenticate to the Copilot API — but the relationship between the one-time setup steps (1–2) and the automatic run-time steps (3–4) was only explained in prose across two separate sub-exercises. A single numbered left-to-right diagram makes that split explicit at a glance, reinforces the token-rotation reminder with a dashed annotation callout, and gives learners a mental model they can reuse when troubleshooting authentication issues later in the workshop.Implementation details
1200x560canvas, GitHub-inspired light/dark palette, and Mona Sans typography conventions used by existing workshop diagrams (e.g.25-audit-lifecycle).playOcticon for the Workflow Run node per the GitHub visual language system guidance; other nodes (key, lock, spark) represent non-GitHub-entity concepts so they use plain accent-colored glyphs, not Octicons.data-visual-kind="diagram", a stabledata-visual-id,role="img", and matchingaria-labelto both SVG roots, plusdata-nodeattributes on each stage.<picture>block (light variant as<img>fallback, alt text only on<img>) right after the intro paragraph, with two short introductory sentences.node scripts/check-svg-visual-language.jsagainst both files — no violations.QA performed
playwright-clito render the exact<picture>block in bothcolorScheme: "light"andcolorScheme: "dark", confirmingcurrentSrccorrectly resolves to-light.svgand-dark.svgrespectively.No other files were modified.
Warning
Firewall blocked 7 domains
The following domains were blocked by the firewall during workflow execution:
accounts.google.comandroid.clients.google.comclients2.google.comregistry.npmjs.orgupdate.googleapis.comwww.google.comwww.gstatic.comTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.