Skip to content

Enable code review - #1

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

polaris-reviewer[bot] wants to merge 2 commits into
mainfrom
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 — calls the centrally trusted reviewer workflow on every pull request.
    The reusable workflow is pinned to an immutable commit SHA (ckorhonen/code-reviewer/.github/workflows/code-reviewer-reusable.yml@71220e0da7ce6276c8a473409d48753444beec0d)
    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 trusted workflow 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 — reserved for hosted publication; the generated
    workflow keeps summary and inline comments disabled by default.
  • id-token: write — mint the OIDC token that authenticates the
    metadata upload (no long-lived credentials are stored).

Envelope upload is configured for https://api.polaris.sourcebottle.net/ingest; reviews appear in the hosted inbox.

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