Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 9 additions & 0 deletions .code-reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# .code-reviewer.yml — repo-level review configuration.
# Omitted keys fall through to dashboard, account, then product defaults.
# Full schema: https://github.com/ckorhonen/code-reviewer (RepoConfigV1).
version: 1
profile: balanced
verify:
checkout_verifier: true
publication:
precision_floor: 0.3
39 changes: 23 additions & 16 deletions .github/workflows/code-reviewer.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
name: AI code review

# Managed by the code-reviewer GitHub App setup PR.
# The trusted reusable workflow is pinned to an immutable commit SHA; bump it deliberately.
name: Code Reviewer
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

types:
- opened
- synchronize
- reopened
concurrency:
group: code-reviewer-${{ github.repository }}-${{ github.event.pull_request.number || github.event.issue.number }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write

id-token: write
jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ckorhonen/code-reviewer@main
with:
openrouter_api_key: ${{ secrets.OPENROUTER_API_KEY }}
mode: sparse
max_cost_usd: "0.25"
post_comments: "false"
post_summary_comment: "true"
code_review:
uses: ckorhonen/code-reviewer/.github/workflows/code-reviewer-reusable.yml@71220e0da7ce6276c8a473409d48753444beec0d
with:
ingest_url: https://api.polaris.sourcebottle.net/ingest
oidc_audience: code-reviewer
mode: sparse
review_strategy: multi-model-union
max_cost_usd: "0.25"
post_summary_comment: false
post_inline_comments: false
secrets:
openrouter_api_key: ${{ secrets.OPENROUTER_API_KEY }}
Loading