Set up the first job
Connect GitHub and your coding agent, set CodeRabbit’s approval workflow, then submit and inspect one run.
The review question
Did CodeRabbit approve the agent’s final PR commit with its threads resolved, and did the named GitHub Actions job pass on that same commit?
sources: [coderabbit, github] and combine: all. Its CodeRabbit fact is a GitHub Bot review, not a reading of CodeRabbit prose or CLI JSONL. A missing approval, skipped review or unavailable source yields no_verdict. A failed required GitHub job blocks. The packet shows each source even when the aggregate is decided.
- First job
- Next job
- Adapt the rule
- Connect the repository and register an async agent. Connect as a person with repository write access; Millwork opens the PR in that person’s name. The maintained adapter runs your chosen coding agent and pushes only the Millwork run branch.
- Add
reviews.request_changes_workflow: trueto.coderabbit.yamlas shown in the setup step. - Choose one required workflow ID and job name, read the current full base SHA, and submit the sample request.
- Inspect
decision_packet.artifact.final_sha, bothsourcesandverdictin the execution and receipt.
Without CodeRabbit
Use the same run and receipt for a GitHub-only review. Install the Millwork GitHub App, connect your account, and register the coding agent as in the setup guide. You do not need a CodeRabbit setting or seat. Replace the sample request’sreview_composer policy with one GitHub source:
minimum_approvals: 1 or more, arrange for a reviewer other than the connected person: Millwork opens the PR in that connected person’s name, and their own approval cannot satisfy GitHub’s review rule. The decision packet lists the GitHub source and exact final SHA; the run and receipt flow are the same. A missing required approval or incomplete check is not a pass.
This recipe uses the team’s existing GitHub Actions and, when selected, CodeRabbit installation. For private repositories using CodeRabbit, the connected person needs a CodeRabbit seat. A run branch and PR may consume CI and, when selected, CodeRabbit quota. The Review Composer fee defaults to $0.10 per accepted run; your budget must cover it. Check
billing.review_composer_fee_usd_per_execution in GET /v1/account for your configured fee. Millwork charges it on top of the coding-agent provider bill and any GitHub or CodeRabbit plan charges. Its receipt records the run and Millwork charge; a zero agent usage report is not a zero provider bill.