Skip to content
This repository was archived by the owner on Nov 24, 2026. It is now read-only.

Releases

1.5.0

Choose a tag to compare

@brainchaindev brainchaindev released this 16 Nov 23:05
Immutable release. Only release title and notes can be modified.
409dbb8

Two changes can turn a run red that used to pass:

  • A private repository is reviewed only with review-private: true. A review is a public BrainChain task, so the pull request's title, description and diff would be published.
  • A person's pull request fails when payer-key is empty, instead of passing with no review. A bot's still only warns.

Payments:

  • A re-run with a personal github-token no longer pays a second time when GitHub's user lookup fails.
  • A payment that was signed but never recorded by BrainChain fails the run and says how to check the payer's transfers.
  • The log says the payment was signed or sent until BrainChain confirms it, and the job summary says when a payment did not settle.
  • The request that carries the payment has its own timeout, so a stalled answer cannot hold the job open.

Briefs and comments:

  • A long diff in Chinese, Japanese or Korean is fitted to the desk's 64,000-byte limit.
  • Only the title, the brief and the quality levels are sent to the desk.
  • A long review stays under GitHub's comment limit, and the final review is posted with retries.

Messages show GitHub's own error text, every input is checked with a plain message, and the Permit2 advice asks for an allowance that covers the reviews you plan, with a note that the approval needs gas.

@v1 now points at 1.5.0.

1.4.4

Choose a tag to compare

@brainchaindev brainchaindev released this 15 Nov 22:36
Immutable release. Only release title and notes can be modified.
edc078a
  • A re-run can no longer pay twice for one commit. The action records the order in its pull request comment before the signed payment is sent, and sends nothing if GitHub does not save that comment. Reported by @epistemedeus in #16.
  • A comment from 1.4.3 or earlier that names the commit without an order now stops the job without paying. The job log says how to find the earlier order or start a new review.
  • The order id is written to the job summary as soon as BrainChain takes the payment, and comment writes are retried when GitHub fails.
  • @x402/evm and @x402/fetch 2.31.0 and viem 2.57.19 (#25). They bring zod 4.6.7, which fixes GHSA-mrhx-c7xc-m3w5.

Use usebrainchain/review-action@v1, which now points at 1.4.4.

1.4.3

Choose a tag to compare

@brainchaindev brainchaindev released this 15 Nov 22:02
Immutable release. Only release title and notes can be modified.
ead62f8
  • The action's description and the accepted output name BrainChain's grade. The README adds versions, security and license sections and a link to the code review brief.
  • No change to how the action runs: dist/ is the same as in 1.4.2.

Use usebrainchain/review-action@v1, which now points at 1.4.3.

1.4.2

Choose a tag to compare

@brainchaindev brainchaindev released this 13 Nov 19:54
Immutable release. Only release title and notes can be modified.
8a5d1dd
  • Pays the mainnet desk's current address. 1.4.1 named the previous one, so every review stopped before paying.
  • A file name with a line break no longer ends the diff block in the brief. Control characters in a file name are shown as ?.

1.4.1

Choose a tag to compare

@brainchaindev brainchaindev released this 03 Nov 12:52
Immutable release. Only release title and notes can be modified.
15613cd
  • Reads the desk's price when the desk answers its offer with 402, as an unpaid POST is answered.

Use usebrainchain/review-action@v1, which now points at 1.4.1.

1.4.0

Choose a tag to compare

@brainchaindev brainchaindev released this 28 Oct 23:01
Immutable release. Only release title and notes can be modified.
a4b94cc
  • Pays at most once per commit. One comment per pull request records what was paid for; a re-run, a cancelled job or a timeout never pays again, and a re-run posts a review that arrived late.
  • Shows a status while the review runs and keeps the earlier review in view until the new one is accepted.
  • Pays nothing for drafts, bot pull requests (unless review-bots is true), forks, a missing secret, pull requests GitHub gives no diff for, diffs with nothing to review, and pull requests that closed or moved on since the run started.
  • Checks the price, the wallet and, on Robinhood Chain, the Permit2 allowance before commenting or paying.
  • Reviews whole pull requests: briefs hold 32,000 characters, and for up to 20 changed files each change is shown with up to 20 lines of the file around it.
  • Everything sent for review is public; the README says what and where.

Use usebrainchain/review-action@v1, which now points at 1.4.0.

1.3.0

Choose a tag to compare

@brainchaindev brainchaindev released this 28 Oct 07:38
Immutable release. Only release title and notes can be modified.
  • A paid review is never reported as uncharged: any reply to a signed payment except a refused brief or payment is followed, so a re-run does not pay twice.
  • A review is never paid for on a pull request from a fork, under pull_request or pull_request_target.
  • Re-running a job for a commit that already has a review pays nothing.
  • A failed refund fails the job and says how to reach us, instead of reporting a refund.
  • Review text cannot mention people or hide the footer, stays within GitHub's comment size, and is also written to the job summary.
  • Private keys are accepted with or without 0x.

1.2.0

Choose a tag to compare

@brainchaindev brainchaindev released this 26 Oct 14:54
Immutable release. Only release title and notes can be modified.

The reviewer sees every changed line with its line number in the new file, so findings cite exact lines. Diffs keep three lines of context when they fit in the brief and narrow to two or one only to make room, which fits larger pull requests without hiding the code around a change.

1.1.0

Choose a tag to compare

@brainchaindev brainchaindev released this 26 Oct 14:45
Immutable release. Only release title and notes can be modified.

Reviews every push without piling up comments: a new run replaces the action's earlier review on the pull request, and the footer names the commit that was reviewed. If the earlier review cannot be edited, the new one is posted as a fresh comment.

1.0.0

Choose a tag to compare

@brainchaindev brainchaindev released this 26 Oct 14:13
Immutable release. Only release title and notes can be modified.

First release. Reviews each pull request on BrainChain: pays 1 USDC on Base from the repository's wallet, posts the review Jev accepts, and refunds a review it does not.

Use usebrainchain/review-action@v1. Setup is in the README.