New
Introducing React Doctor for Enterprise

Migrating to CI v2

The React Doctor GitHub Action is now v2. For most workflows, upgrading is a version bump and a couple of renamed inputs.

Bump the Action

- uses: actions/checkout@v5
- uses: millionco/react-doctor@v2

v2 compares each pull request against its base branch, fetching the base commit itself, so a plain checkout works. Add fetch-depth: 0 only if you need deep history.

Inputs that changed

v1v2
fail-onblocking
annotationsreview-comments
non-blocking: trueblocking: none

blocking takes the same values as fail-on (error, warning, and none) with the same error default, so a straight rename is usually all you need. A new scope input chooses between the changed files (changed, the default) and the whole project (full).

New defaults and behavior

  • node-version now defaults to 24 (it was 22), and project defaults to *, so every workspace project is scanned.
  • On a pull request, the Action reports only the issues your change introduced and posts inline review comments on the changed lines. A new fixed-issues output reports how many your change resolved.

See the GitHub Action reference for the full list of inputs and outputs.