ci: add Robin review on every pull request revision

Closed
LI
2d ago
+46-0

Behavior

Adds Robin, the AI code reviewer the backend repositories use, so every revision of a pull request is reviewed before merge. Same configuration as app-backend.

Impact

CI only: a new review workflow job and its .github/robin.yml config. No application code changes.

Verification

Robin should review this PR itself once the workflow is on the branch.

Part of OPS-333


Summary by cubic

Adds Robin AI code review so every pull request revision is automatically reviewed before merge, matching the configuration used by the backend repositories.

Things to verify

  • CI-only change: two new files, no application code.
  • The job will fail if the ROBIN_CLIENT_ID, ROBIN_PRIVATE_KEY, and LLM_API_KEY secrets or the LLM_BASE_URL and LLM_MODEL vars aren't set at repo or org level.
  • blacksmith-2vcpu-ubuntu-2604 is a self-hosted runner, so confirm it's registered for this repository.
  • A new revision cancels any in-progress review for the same PR, so only the latest revision is reviewed.
  • Slash commands /robin, /review, /summary, and /help let owners, members, and collaborators trigger a review on demand.