Skip to content

fix: grant copilot-requests: write for gh-aw copilot engine auth - #8

Merged
dmserrano merged 1 commit into
mainfrom
fix/copilot-requests-permission
Sep 8, 2026
Merged

fix: grant copilot-requests: write for gh-aw copilot engine auth#8
dmserrano merged 1 commit into
mainfrom
fix/copilot-requests-permission

Conversation

@dmserrano

Copy link
Copy Markdown
Owner

The live test of #6 (draft-post) failed at the activation gate:

Error: None of the following secrets are set: COPILOT_GITHUB_TOKEN
The GitHub Copilot CLI engine requires either COPILOT_GITHUB_TOKEN
secret to be configured.

Per gh-aw's own failure message, adds copilot-requests: write to both
workflows' top-level permissions so the built-in GITHUB_TOKEN can drive
Copilot inference via your Copilot subscription, instead of needing a
separate PAT stored as a secret.

…cate

The compiled workflows failed at runtime: "Error: None of the following
secrets are set: COPILOT_GITHUB_TOKEN". Per gh-aw's own failure guidance,
adding copilot-requests: write lets the built-in GITHUB_TOKEN drive
Copilot inference via the repo's Copilot subscription, avoiding the need
for a separate PAT secret.
@dmserrano
dmserrano merged commit 09c1941 into main Sep 8, 2026
2 checks passed
@dmserrano
dmserrano deleted the fix/copilot-requests-permission branch September 8, 2026 20:28
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.

1 participant