Skip to content

fix: grant gitleaks pull-requests: read for PR commit scan#17

Merged
roleme merged 1 commit into
mainfrom
fix/gitleaks-pr-read
Jun 26, 2026
Merged

fix: grant gitleaks pull-requests: read for PR commit scan#17
roleme merged 1 commit into
mainfrom
fix/gitleaks-pr-read

Conversation

@roleme

@roleme roleme commented Jun 26, 2026

Copy link
Copy Markdown
Owner

On pull_request, gitleaks-action calls GET /pulls/{n}/commits to scan only the PR's commits — needs pull-requests: read. With contents: read alone it fails "Resource not accessible by integration" (surfaced on docker_infra #294). read, not write — PR comments stay disabled.

🤖 Generated with Claude Code

On pull_request, gitleaks-action calls GET /pulls/{n}/commits to scan only the
PR's commits; that needs pull-requests: read. contents: read alone fails with
'Resource not accessible by integration'. read (not write) — comments stay off.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@roleme roleme merged commit 46bccad into main Jun 26, 2026
1 check passed
@roleme roleme deleted the fix/gitleaks-pr-read branch June 26, 2026 06:59
@roleme roleme mentioned this pull request Jun 26, 2026
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