Skip to content

Commit 1492e26

Browse files
jrollinclaude
andcommitted
fix: Add permissions to security audit job in CI workflow
The security audit job requires explicit permissions to create check runs. Add permissions for contents:read, issues:write, and checks:write to fix the "Resource not accessible by integration" error. Resolves GitHub Actions error: Resource not accessible by integration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent c337f40 commit 1492e26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
name: Security Audit
6363
runs-on: ubuntu-latest
6464
continue-on-error: true
65+
permissions:
66+
contents: read
67+
issues: write
68+
checks: write
6569
steps:
6670
- name: Checkout code
6771
uses: actions/checkout@v4

0 commit comments

Comments
 (0)