mirror of
https://github.com/Z3Prover/z3
synced 2026-07-18 04:55:45 +00:00
Fix release-notes-updater: add copilot-requests: write permission (#10116)
The `release-notes-updater` agent job was failing with HTTP 401 on every Copilot API inference request because the GitHub Actions token lacked `copilot-requests: write`. ## Changes - **`release-notes-updater.md`**: Replace `permissions: read-all` shorthand with an explicit permissions object that includes `copilot-requests: write` - **`release-notes-updater.lock.yml`**: Recompiled via `gh aw compile` ```yaml # Before permissions: read-all # After permissions: contents: read issues: read pull-requests: read discussions: read copilot-requests: write ``` `read-all` expands all scopes to read but does not grant `copilot-requests: write`, which is the permission required for the GitHub Actions token to authenticate with the Copilot API proxy. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
parent
710b4082d1
commit
424bcc545e
2 changed files with 20 additions and 16 deletions
7
.github/workflows/release-notes-updater.md
vendored
7
.github/workflows/release-notes-updater.md
vendored
|
|
@ -7,7 +7,12 @@ on:
|
|||
|
||||
timeout-minutes: 30
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
contents: read
|
||||
issues: read
|
||||
pull-requests: read
|
||||
discussions: read
|
||||
copilot-requests: write
|
||||
|
||||
network: defaults
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue