Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
id-token: write
env:
CLAUDE_MODEL: ${{ vars.CLAUDE_MODEL || 'opus' }}
REPORT_DIR: ${{ github.workspace }}/review-report
Comment thread
coderabbitai[bot] marked this conversation as resolved.
steps:
- name: Check for OAuth token
env:
Expand Down Expand Up @@ -84,13 +85,24 @@ jobs:
2. Invoke Skill(skill="claudius:grumpy-review") to perform a fresh code review.
This spawns parallel specialist agents and produces a consolidated report.
Do NOT review the code yourself — the skill handles the full pipeline.
Generate HTML format instead of markdown (use --format html in the render step).
Save the final report.json and report.html to $REPORT_DIR.
3. Post only MEDIUM severity and higher findings as new inline PR comments.
4. If no unresolved comments remain after the full flow, approve the PR.
claude_args: |
--agent claudius:claudius
--model ${{ env.CLAUDE_MODEL }}
--max-turns 150
--allowedTools "mcp__plugin_claudius_github,Read,Write,Edit,Glob,Grep,Agent,Skill,Task,TaskCreate,TaskUpdate,TaskList,TaskGet,TaskOutput,SendMessage,Bash(gh pr *),Bash(gh api *),Bash(git diff *),Bash(git log *),Bash(git fetch *),Bash(git branch *),Bash(git rev-parse *),Bash(git show *),Bash(git pull *),Bash(git checkout *),Bash(git status),Bash(git status *),Bash(git remote *),Bash(git merge-base *),Bash(cat *),Bash(python3 *),Bash(echo *),Bash(ls *),Bash(grep *),Bash(mkdir *),Bash(mktemp *),Bash(pwd *)"
--allowedTools "mcp__plugin_claudius_github,Read,Write,Edit,Glob,Grep,Agent,Skill,Task,TaskCreate,TaskUpdate,TaskList,TaskGet,TaskOutput,SendMessage,Bash(gh pr *),Bash(gh api *),Bash(git diff *),Bash(git log *),Bash(git fetch *),Bash(git branch *),Bash(git rev-parse *),Bash(git show *),Bash(git pull *),Bash(git checkout *),Bash(git status),Bash(git status *),Bash(git remote *),Bash(git merge-base *),Bash(cat *),Bash(python3 *),Bash(echo *),Bash(ls *),Bash(grep *),Bash(mkdir *),Bash(mktemp *),Bash(pwd *),Bash(cp *)"
Comment thread
lklimek marked this conversation as resolved.
Outdated

- name: Upload review report
if: '!cancelled()'
uses: actions/upload-artifact@v4
with:
name: claude-review-report-pr-${{ github.event.pull_request.number }}
path: ${{ env.REPORT_DIR }}/
Comment thread
lklimek marked this conversation as resolved.
Outdated
retention-days: 14
if-no-files-found: ignore

- name: Remove claudius-review label
if: success()
Expand Down
Loading