GitHub Action for automated code reviews using AI.
-
Install dependencies:
npm install
-
Install dotenv (if not already installed):
npm install dotenv
-
Create
.envfile:GITHUB_TOKEN=ghp_your_github_token ASSIS_API_TOKEN=your_api_token
-
Edit
local_run.js:- Update
getContext()with your repo owner, repo name, and PR number
- Update
-
Run locally:
node local_run.js
Results are saved to tmp/code_review.md.