Repository navigation
Releases
v1.0.5 — Reliable version resolution, cosign signature check
Fixed
cora-version: latestno longer falls back to the ancientv0.3.0when the GitHub API call fails (this made the review step exit 1 immediately). It now resolves through the GitHub API authenticated withgithub-token, then through the/releases/latestredirect, and stops with a clear error if both fail. Tags are validated.
Added
- Signature verification. cora-code v0.18.0+ signs
checksums-sha256.txtwith cosign keyless. When the release has achecksums-sha256.txt.sigstore.json, the action verifies it withcosign verify-blob(exact identity.../cora-code/.github/workflows/release.yml@refs/tags/<tag>, GitHub OIDC issuer) before installing the binary. A bad signature always aborts. - Input
require-signature(defaultfalse): also fail when the release has no signature. Older releases keep installing, with a notice. - Outputs
cora-versionandsignature-verified. - Test workflow covering signed, unsigned and
require-signaturepaths.
No breaking changes; stays on the v1 line.
v1.0.4 — Fix false error on clean code reviews
Every clean PR was showing a fake error.
You push a simple docs change. Cora reviews it, finds nothing wrong, exits clean. But the PR comment says "Cora was unable to reach the LLM API after retries." You check the logs, the LLM is fine. You re-run the workflow, same thing.
Turns out the detection logic had a bad assumption baked in: if the SARIF has zero rules, it must be an LLM failure. But that's also what a successful review looks like when the code is clean. Zero issues, zero rules.
Two bugs compounded this:
The shell retry never worked. sys.exit(0) inside a try block raises SystemExit, which gets caught by the bare except: below it. Both print(1) and print(0) execute, and the shell variable ends up with "1\n0" — a string that fails integer comparison. The retry logic was dead code.
The JS comment logic misclassified clean reviews. rules.length === 0 was the sole fallback signal. Clean code triggers it every time.
Both fixed. The detection now looks for the specific "could not complete" message string in the SARIF results, which only appears when cora's LLM call actually fails.
Before: Every PR with clean code → error comment
After: Every PR with clean code → "No issues found"
If you pin to @v1 or @v1.0.4, you get the fix. No workflow changes needed.
v1.0.2
v1.0.1 — Fork PR permission fix
Fixes
- Wrap PR comment API calls in try/catch — fork PRs with read-only
GITHUB_TOKENno longer fail the check-run (#2)
v1.0.0
Cora AI Code Review v1.0.0
Initial release of the cora-review-action GitHub Action.
Features
- AI-powered PR code review using cora-cli
- Posts formatted PR comment with findings
- Uploads SARIF to GitHub Code Scanning
- Retry + checksum verified binary download
- BYOK — works with any OpenAI-compatible LLM
Usage
- uses: codecoradev/cora-review-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
cora-api-key: ${{ secrets.CORA_API_KEY }}