mirror of https://github.com/garrytan/gstack.git
ci: grant the eval report job issues:write so PR comment upsert stops 401ing
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
526f191a12
commit
4c4fea173a
|
|
@ -162,6 +162,12 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
# The comment upsert below calls the REST `/issues/{n}/comments` endpoints
|
||||||
|
# (gh api ... issues/comments). With GITHUB_TOKEN those are gated by the
|
||||||
|
# `issues` permission, not `pull-requests` — without it the GET returns 401
|
||||||
|
# on every PR that produces eval artifacts (PRs with no artifacts exit
|
||||||
|
# early and never hit it, which is why this stayed hidden). See #1802 CI fix.
|
||||||
|
issues: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue