Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Tokens reference doc to be more task-oriented (what tokens you need, how to add them) and to reorganize the token reference sections with new UI/CLI setup guidance and visual examples.
Changes:
- Adds “Which token(s) do I need?” and “How do I add tokens?” sections with CLI/UI instructions and screenshots.
- Restructures the token reference section formatting (new headings/badges and section wrappers).
- Removes/relocates some previously documented sections (notably GitHub App token guidance), which impacts existing deep links.
Comments suppressed due to low confidence (2)
docs/src/content/docs/reference/tokens.md:200
- In this section, there are inline
<video>embeds further down the page. They currently don’t follow the docs’ standard Video component markup (container/element classes +preload="metadata"+aria-label), so styling fromcustom.cssmay not apply consistently and accessibility metadata may be missing. Consider matchingdocs/src/components/Video.astro’s structure for those embeds.
### `GH_AW_PROJECT_GITHUB_TOKEN` <span style="display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px; background-color: #c084fc; color: white; font-size: 0.875rem; font-weight: 500;">Personal Access Token</span>
<div style="padding-left: 1.5rem;">
> [!IMPORTANT]
> **Required** for any GitHub Projects v2 operations (creating, updating, or reading project boards)
A specialized token for GitHub Projects v2 operations used by:
- The [`project new`](/gh-aw/setup/cli/#project-new) CLI command for creating projects
docs/src/content/docs/reference/tokens.md:193
- The heading includes additional badge text via an inline
<span>("Personal Access Token"). Since heading IDs are auto-generated from heading text, this is likely to change the slug and break existing deep links (other pages currently link to/reference/tokens/#gh_aw_project_github_token-github-projects-v2). Consider keeping the heading text stable (e.g., include “(GitHub Projects v2)” again) and/or adding an explicit anchor with the previous ID.
### `GH_AW_PROJECT_GITHUB_TOKEN` <span style="display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px; background-color: #c084fc; color: white; font-size: 0.875rem; font-weight: 500;">Personal Access Token</span>
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
Contributor
Author
|
@copilot Fix docs build errors |
Contributor
Contributor
Author
|
@copilot Revert actions-lock.json and action_pins.json |
Contributor
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.
Visual improvements:
Structure reorganization:
Content additions: