fix: add missing permissions to GitHub Actions workflows
- Add issues, pull-requests, and checks write permissions to test.yml - Add statuses write permission to benchmark-pr.yml - Fixes "Resource not accessible by integration" errors in CI/CD These permissions allow workflows to create PR comments and commit statuses. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -5,6 +5,12 @@ on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
pull-requests: write
|
||||
checks: write
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user