Skip to content

docs: create missing /reference/auth-projects/ page#21280

Merged
pelikhan merged 2 commits intomainfrom
copilot/deep-report-fix-docs-navigation-gap
Mar 16, 2026
Merged

docs: create missing /reference/auth-projects/ page#21280
pelikhan merged 2 commits intomainfrom
copilot/deep-report-fix-docs-navigation-gap

Conversation

Copy link
Contributor

Copilot AI commented Mar 16, 2026

The sidebar nav entry Authentication (Projects) pointed to /reference/auth-projects/ but no file existed, producing a 404 for any user who clicked it.

Changes

  • New page docs/src/content/docs/reference/auth-projects.mdx — reference page covering GitHub Projects authentication:
    • Why GITHUB_TOKEN is insufficient (repo-scoped; Projects API sits outside that scope)
    • Classic PAT for user-owned projects (project + optional repo scopes)
    • Fine-grained PAT for org-owned projects (exact resource owner, repo, and org permission settings)
    • GitHub App token alternative
    • Recommended read/write secret split (GH_AW_READ_PROJECT_TOKEN / GH_AW_WRITE_PROJECT_TOKEN) with a minimal workflow snippet
    • Magic secret GH_AW_GITHUB_MCP_SERVER_TOKEN note
    • Related-docs links to auth, github-tools, safe-outputs, and project-ops

📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] [deep-report] Fix docs navigation gap and onboarding breakage around /reference/auth-projects docs: create missing /reference/auth-projects/ page Mar 16, 2026
Copilot AI requested a review from pelikhan March 16, 2026 20:13
@pelikhan pelikhan marked this pull request as ready for review March 16, 2026 20:39
Copilot AI review requested due to automatic review settings March 16, 2026 20:39
@pelikhan pelikhan merged commit 3a132da into main Mar 16, 2026
57 checks passed
@pelikhan pelikhan deleted the copilot/deep-report-fix-docs-navigation-gap branch March 16, 2026 20:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds the missing reference page for “Authentication (Projects)” to fix a sidebar link that currently 404s, documenting how to authenticate GitHub Projects read/write operations in gh-aw.

Changes:

  • Added docs/src/content/docs/reference/auth-projects.mdx with guidance on why GITHUB_TOKEN is insufficient for Projects.
  • Documented PAT (classic + fine-grained) and GitHub App token approaches for Projects access.
  • Provided recommended secret/token layout and workflow configuration examples, plus related links.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.


Reference each token in the workflow where it is needed:

```aw wrap
github-token: ${{ secrets.GH_AW_WRITE_PROJECT_TOKEN }}
```

The magic secret `GH_AW_GITHUB_MCP_SERVER_TOKEN` is recognized by GitHub Agentic Workflows and does not need to be explicitly referenced in your workflow — if it is present in the repository, it is used automatically for all GitHub tools toolsets, including `projects`.
- **Resource owner**: the organization that owns the project
- **Repository access**: the repositories that will run the workflow
- **Repository permissions**: `Contents: Read`, and optionally `Issues: Read` / `Pull requests: Read`
- **Organization permissions**: `Projects: Read and write`
Comment on lines +49 to +52
```bash wrap
gh aw secrets set GH_AW_READ_PROJECT_TOKEN --value "<read-token>"
gh aw secrets set GH_AW_WRITE_PROJECT_TOKEN --value "<write-token>"
```
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.

[deep-report] Fix docs navigation gap and onboarding breakage around /reference/auth-projects

3 participants