Add permissions to workflow#196
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/make_and_publish_pkgs.yml:
- Around line 2-4: In the permissions block of the workflow
(.github/workflows/make_and_publish_pkgs.yml) remove the unnecessary
"pull-requests: write" permission so only "contents: read" remains; locate the
permissions stanza that currently contains "contents: read" and "pull-requests:
write" and delete the "pull-requests: write" line to tighten token scope for
this reusable workflow.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 6b08b015-2f32-4ebd-94a1-5a0dcb52b0a8
📒 Files selected for processing (1)
.github/workflows/make_and_publish_pkgs.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
CodeQL recommendation.
Summary by CodeRabbit