fix: add explicit permissions to GitHub Actions workflows#228
fix: add explicit permissions to GitHub Actions workflows#228FrancesCoronel wants to merge 2 commits intomainfrom
Conversation
Adds least-privilege `permissions` blocks to chromatic.yml (contents: read) and purge-branch.yml (contents: write) to restrict the default GITHUB_TOKEN scope and resolve CodeQL missing-workflow-permissions alerts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 4 minutes and 56 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Tip All tests passed and all changes approved!🟢 UI Tests: 9 tests unchanged |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
permissions: contents: readtochromatic.yml— restricts GITHUB_TOKEN to read-only since this workflow only checks out code and publishes to Chromatic externallypermissions: contents: writetopurge-branch.yml— grants only the write scope needed to delete stale branchesactions/missing-workflow-permissionsalerts for both workflowsDependabot note
Dependabot alert #106 (
elliptic <= 6.6.1, low severity) is a transitive dep from@storybook/nextjswith no upstream patch available — it is dev-only and not included in the production bundle.Test plan
🤖 Generated with Claude Code