Skip to content

Commit 72f6990

Browse files
committed
feat: Add automatic Qodo review trigger to workflow
- Workflow now automatically posts /describe and /review comments on PRs - Triggers Qodo Merge Pro to analyze bot-created PRs - No OpenAI API key needed - uses existing Qodo Merge Pro installation - Full automated review flow: Claude creates PR → auto-trigger Qodo
1 parent e3e2dc6 commit 72f6990

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/self-improve.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,15 @@ jobs:
9898
--model claude-sonnet-4-5-20250929
9999
--allowedTools "Read,Write,Edit,Glob,Grep,Bash(git:*),Bash(gh:*),Bash(pytest:*),Bash(python:*),Bash(make:*),Bash(find:*),Bash(wc:*),Bash(cat:*),Bash(head:*),Bash(tail:*),Bash(ls:*),Bash(tree:*)"
100100
--system-prompt "You are a senior software engineer conducting autonomous recursive code review. Use RLM patterns: peek, grep, partition, recurse. Prioritize high-impact improvements. Be surgical and focused."
101+
102+
- name: Trigger Qodo Review
103+
if: steps.anthropics-claude-code-action.outputs.pr_number != ''
104+
env:
105+
GH_TOKEN: \${{ secrets.GITHUB_TOKEN }}
106+
run: |
107+
PR_NUMBER=\$(gh pr list --head \$(git branch --show-current) --json number --jq '.[0].number')
108+
if [ -n "\$PR_NUMBER" ]; then
109+
echo "Commenting on PR #\$PR_NUMBER to trigger Qodo review"
110+
gh pr comment \$PR_NUMBER --body "/describe"
111+
gh pr comment \$PR_NUMBER --body "/review"
112+
fi

0 commit comments

Comments
 (0)