AI Code Reviewer is a GitHub Action that leverages OpenAI's GPT-4 API to provide intelligent feedback and suggestions on your pull requests. This tool helps improve code quality and saves developers time by automating the code review process.
Ensure you have Python >=3.10 <=3.13 installed on your system. This project uses Poetry for dependency management and package handling, offering a seamless setup and execution experience. 1. Clone the repo: git clone https://github.com/robsonc/code_reviewer.git 2. Install the required dependencies: npm install 3. Add the OpenAI API key as a GitHub Secret in your repository with the name OPENAI_API_KEY. 4. Create a .github/workflows/main.yml file in your repository and configure the AI Code Reviewer action. 5. Commit the changes to your repository, and AI Code Reviewer will start working on your future pull requests.