Fix: release-drafter workflow error#460
Conversation
Added explicit permissions for contents and pull-requests in the update-release-drafter workflow to improve security and clarify required access levels.
WalkthroughThe GitHub Actions workflow for the release drafter was updated to explicitly define permissions at both the workflow and job levels. The workflow now specifies read-only access for contents globally, while the main job is granted write access to contents and read access to pull requests. Changes
Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (2)
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Added explicit permissions for contents and pull-requests in the update-release-drafter workflow to improve security and clarify required access levels.
This should resolve the
Resource not accessible by integrationerror when creating a release.Summary by CodeRabbit