To use CodeCritic, you need an account. You can sign up in two ways:
After registration, you can log in anytime from the homepage. Make sure to agree to our Terms of Service and Privacy Policy when creating your account.
The simplest way to get a code review is through the web interface:
Each review consumes credits from your subscription or pay-per-use balance. Check your usage in the Dashboard before submitting.
After a review completes, you will see:
You can view all your past reviews in the Dashboard under the "Reviews" tab. Click any review to see its full details.
CodeCritic can automatically review pull requests via a GitHub Action. Here is how to set it up:
CODECRITIC_API_KEY with your API key..github/workflows/codecritic.yml with the following content:name: CodeCritic Review
on:
pull_request:
types: [opened, synchronize]
workflow_dispatch:
jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: CodeCritic-Reviews/review-action@v1
with:
api_key: ${{ secrets.CODECRITIC_API_KEY }}When you open or update a pull request, the action will run and post the review as a comment. Key inputs you can customize:
api_url - API endpoint (default: https://api.code-critic.com)wait_for_completion - Wait for review to finish (default: true)post_comment - Post results as PR comment (default: true)timeout - Max wait time in seconds (default: 600)CodeCritic offers subscription plans and pay-per-use credits:
In the Dashboard, open the "Settings" tab to:
If you need help or have questions: