Commit dee20c8
ci: grant gitleaks the pull-requests scope it needs
The job failed before scanning anything: listing a pull request's commits
needs pull-requests: read, and only contents: read was granted.
PR comments are also disabled. Posting one needs pull-requests: write, and
Dependabot pull requests run with a read-only token, so leaving comments on
would have made every dependency PR fail for a reason unrelated to secrets.
Findings still fail the check and appear in the job log.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 9b4ee66 commit dee20c8
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
0 commit comments