Recommend copilot-requests: write for Copilot-targeted workflows in instruction docs#38410
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
copilot-requests: write for Copilot-targeted workflows in instruction docs
|
Hey One automated checklist flag: no test files were touched. For a pure documentation PR like this one that only updates Markdown instruction files, that's completely expected — no test changes are needed. This is just a mechanical checklist result. If you would like to do a quick consistency pass before this goes to maintainer review, here's an optional prompt: Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "patchdiff.githubusercontent.com"See Network Configuration for more information.
|
There was a problem hiding this comment.
Pull request overview
Updates gh-aw instruction documentation to explicitly recommend using permissions.copilot-requests: write when workflows target the Copilot coding agent, and expands the core permissions reference to include the copilot-requests scope and related write-scope exceptions.
Changes:
- Add a Copilot-targeted permissions recommendation to the workflow creator and updater instruction prompts.
- Update the core syntax reference to document
copilot-requestsas an available permission scope and clarify write-scope exceptions.
Show a summary per file
| File | Description |
|---|---|
| .github/aw/create-agentic-workflow.md | Adds creator guidance to include copilot-requests: write for Copilot-auth workflows. |
| .github/aw/update-agentic-workflow.md | Adds updater guidance to apply the same Copilot permissions recommendation on edits. |
| .github/aw/syntax-core.md | Updates core permissions documentation to include copilot-requests and clarify write exceptions. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 3/3 changed files
- Comments generated: 3
|
Please refresh the branch, rerun checks, and summarize any remaining blockers.
|
|
@copilot review all comments and address unresolved review feedback. Triggered by pr-sous-chef run 27316532377.
|
This updates instruction surfaces so guidance is explicit when workflows target the Copilot coding agent: use
permissions.copilot-requests: writefor token-based Copilot auth. It also aligns the core permissions reference with current supported scope behavior.Creator guidance (
.github/aw/create-agentic-workflow.md)copilot-requests: writewhen targeting Copilot agent workflows.Updater guidance (
.github/aw/update-agentic-workflow.md)Permissions reference (
.github/aw/syntax-core.md)copilot-requestsin the documented available scopes.id-token: write(OIDC)copilot-requests: write(Copilot agent auth via${{ github.token }})pr-sous-chef: refresh branch requested by run 27316532377.