[DevOps] Tighten security & workflow permissions for claude workflow - #733
[DevOps] Tighten security & workflow permissions for claude workflow#733lisa-tarbo wants to merge 6 commits into
Conversation
|
Reviewed the permission removal by tracing every consumer of the default
That leaves Two inline notes, neither blocking:
One housekeeping item: the PR description's Background section describes README improvements ("Improved README for workflows...", "Using the README-Claude-workflows significantly improves Claude's ability to find and fix security issues"), but the diff only touches |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 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 |
|
Follow-up review covering the two new steps. The permissions trace from my earlier comment still stands — the three removals are correct. Both new steps are real improvements. The PCRE gate kills the Four notes inline. Only the fork-PR one is functional — it is a behaviour change worth deciding on deliberately, since acceptance test #2 covers that path. The other three are consistency and maintainability. One nit not worth an inline: the regex still matches a bare |
Generated by Claude usingRunning this test on branch claude-review-workflow to test
Workflow security reviewReviewed against Good:
Should fix — comment references a non-existent step: the new note says the push target is "independent of the ref the Minor / optional — regex edge case:
|
…eal mention of trigger.
…ub.ref as no pr branch
…ts that not 100% accurate
e39842b to
425b51e
Compare
Background
This work was done using Claude and the recently updated
README-Claude-workflowsand this significantly improves Claude's ability to find and fix security issues.Resolves: #696 which states -
claude.yml— highest severity: broad permissions , no trigger gateDetails
Commented on important details that confuse Claude when reviewing in future
claude-code-action'sbuilt-in check that the triggering user has write access to this repo. It fails the "Run Claude Code" step with "Action failed with error which is better than being silently skipped.claude-code-actionpicks push target branches - this confused Claude reviews in past.Acceptance Test