Skip to content

Enable code review - #1

Open
polaris-reviewer[bot] wants to merge 2 commits into
masterfrom
code-reviewer/setup
Open

Enable code review#1
polaris-reviewer[bot] wants to merge 2 commits into
masterfrom
code-reviewer/setup

Conversation

@polaris-reviewer

Copy link
Copy Markdown

Enable code review

This PR wires up the code-reviewer GitHub App. It adds two files:

  • .github/workflows/code-reviewer.yml — runs the reviewer on every pull request.
    The action is pinned to an immutable commit SHA (ckorhonen/code-reviewer@aeaffe6b9d61755f8b08486ad4b6915e3ae3bc23)
    so what runs on your code never changes without a reviewable bump.
  • .code-reviewer.yml — a starter configuration you can tune later.

What runs, and where

The review runs entirely on your GitHub Actions runner. Your code and
diffs are read on the runner and are never sent to our servers. When the
review finishes, the Action optionally uploads a metadata-only envelope
(finding severities, file paths + line numbers, precision scores, model
health, and content hashes — never source, diffs, prompts, or raw model
output) authenticated with a short-lived GitHub Actions OIDC token.

Permissions this workflow requests

  • contents: read — check out the PR to review it.
  • pull-requests: write — post the review summary comment.
  • id-token: write — mint the OIDC token that authenticates the
    metadata upload (no long-lived credentials are stored).

Envelope upload is opt-in and additive — merging this PR changes no
existing behavior for SHA-pinned or fork-at-main consumers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants