readme: add action permission settings#7
readme: add action permission settings#7MattSturgeon wants to merge 1 commit intoDeterminateSystems:mainfrom
Conversation
WalkthroughREADME.md updated to add steps in the Usage section for configuring GitHub Actions workflow permissions, including navigation path and specific permission settings, placed after editing Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
✨ Finishing Touches🧪 Generate unit tests
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
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
README.md (1)
20-20: Typo: “real-word” → “real-world”.User-facing docs; please correct.
-flake.lock in a simulation of a real-word use case. If the action succeeds, you +flake.lock in a simulation of a real-world use case. If the action succeeds, you
🧹 Nitpick comments (1)
README.md (1)
38-38: Consider updating to actions/checkout@v4.The example uses v2; v4 is current and recommended.
Would you like me to open a follow-up PR to bump example action versions after confirming the latest tags?
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
README.md(1 hunks)
When creating a new repo from the template, you must also edit the GitHub Actions workflow permissions.
321df53 to
0faa39f
Compare
When creating a new repo from the template, you must also edit the GitHub Actions workflow permission settings or the workflow job will run into 403 permission errors.
For example, this run (https://github.com/MattSturgeon/test-update-flake-lock/actions/runs/17505282300) has three attempts; during the first the repo settings were left as default, during the second I enabled "allow creating PRs", during the third I also selected "allow write". The third was the only one that didn't 403.
Aside: this should probably also be documented on the main action's README, if it isn't already. It wouldn't apply to anyone using a PAT or a GH App, of course, so that may be worth caveating.
Summary by CodeRabbit