Skip to content

Commit 12a48ef

Browse files
jbachorikclaude
andcommitted
ci: grant pull_requests:write to benchmarking-platform-reports.ci
Posting a comment on a PR via the issues/comments endpoint requires pull_requests:write for a GitHub App; the earlier pull_requests:read grant produced a 403 "Resource not accessible by integration". Bump to write (still no contents access). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f22fd8d commit 12a48ef

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/chainguard/benchmarking-platform-reports.ci.sts.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ issuer: https://gitlab.ddbuild.io
88
subject_pattern: "project_path:DataDog/apm-reliability/benchmarking-platform:ref_type:branch:ref:.*"
99

1010
permissions:
11-
# issues: write covers creating/updating comments on a PR (the PR comment lives
12-
# on the issues/comments endpoint); pull_requests: read is enough to resolve the
13-
# open PR for a branch. No contents access is granted.
11+
# Posting a comment on a pull request via the issues/comments endpoint requires
12+
# pull_requests: write for a GitHub App (PRs are issues, but comment-writes on a
13+
# PR are governed by the Pull requests permission — issues: write alone yields a
14+
# 403 "Resource not accessible by integration"). No contents access is granted.
1415
issues: write
15-
pull_requests: read
16+
pull_requests: write

0 commit comments

Comments
 (0)