Skip to content

Add COPILOT_GITHUB_TOKEN install reminder - #66

Open
mrjf with Copilot wants to merge 2 commits into
mainfrom
copilot/add-token-reminder-install-md
Open

Add COPILOT_GITHUB_TOKEN install reminder#66
mrjf with Copilot wants to merge 2 commits into
mainfrom
copilot/add-token-reminder-install-md

Conversation

CopilotAI commented May 11, 2026

Copy link
Copy Markdown
Contributor

Bug Fix

What was the bug?

Following install.md could leave users with a first-run workflow failure because COPILOT_GITHUB_TOKEN was never called out during install.

How did you fix it?

  • Install guidance
    • Added a Step 5 reminder to create a fine-grained PAT with Copilot Requests: Read.
    • Added the exact secret setup command:
gh aw secrets set COPILOT_GITHUB_TOKEN --value "<your-token>"
  • Agent prompt behavior

    • Instructed the installing agent to print the reminder alongside the install PR link.
  • Coverage

    • Added focused tests asserting the install instructions include the token setup and print-reminder guidance.

Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
CopilotAI changed the title [WIP] Add reminder to set COPILOT_GITHUB_TOKEN in install.mdAdd COPILOT_GITHUB_TOKEN install reminderMay 11, 2026
CopilotAI requested a review from mrjfMay 11, 2026 15:24
@mrjf
mrjf marked this pull request as ready for review May 11, 2026 21:09
Sign up for freeto 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.

Install instructions should remind user to set COPILOT_GITHUB_TOKEN

2 participants

@mrjf