Repository navigation
Update large-pr-labeler.yml with permissions - #259
Conversation
Add permissions for issues and pull requests in workflow
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThis PR adds a top-level 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
There was a problem hiding this comment.
Pull request overview
Adds an explicit top-level permissions block to the large-pr-labeler.yml workflow so it can manage the large-pr label on pull requests with least-privilege scopes rather than relying on default GITHUB_TOKEN permissions.
Changes:
- Declares
issues: writeto allow creating the repository label and adding/removing it via the issues API. - Declares
pull-requests: readfor reading PR file data.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This pull request updates the workflow configuration in
.github/workflows/large-pr-labeler.ymlto add explicit permissions required for the workflow to function properly.Workflow permissions update:
issues: writeandpull-requests: readpermissions to ensure the workflow can label pull requests and interact with issues as needed.