Skip to content

Dexter - AI Code Reviewer

Actions
Automated code review with Dexter AI using OpenAI models
alpha
Latest
StarΒ (9)

πŸ‘¨πŸ»β€πŸ”§ Dexter AI: Your AI Pull Request Reviewer

For Developers, By Developers πŸ› οΈ: Dexter AI enhances code reviews with an AI-powered approach, tailored to the needs of developers.

Key Features of Dexter AI 🌟

  • AI-Powered PR Reviews πŸ€–: Automated, insightful analysis to streamline code reviews.
  • Advanced Code Analysis πŸ”: Deep evaluation focusing on quality and best practices.
  • Multilingual Code Support 🌐: Broad compatibility with various programming languages.
  • Seamless GitHub Integration πŸ”—: Smooth integration into GitHub workflows.
  • Security Vulnerability Detection πŸ”: Proactively identifies potential security risks.

image

Getting Started

Prerequisites

  • A GitHub account.
  • An OpenAI API key.

Installation

  • Add Dexter AI as a GitHub Action in your repository.
  • Configure the action with your OpenAI API key and other optional settings.

Configuration

  • GITHUB_TOKEN: Your GitHub access token.
  • OPENAI_API_KEY: Your OpenAI API key.
  • OPENAI_API_MODEL: The specific OpenAI model used for code analysis.
  • EXCLUDE_PATTERNS: Patterns to exclude files from analysis.

Usage

Once configured, Dexter AI runs automatically on each pull request, reviewing code changes and providing comments directly on the PR. Detailed instructions on usage and customization are available in the documentation.

Example Workflow

name: Dexter AI Code Review Workflow

on:
  pull_request:
    types: [opened, synchronize, reopened]

permissions: write-all

jobs:
  pr_review:  # Unique identifier for the job
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v3

      - name: Code Review
        uses: suitedaces/dexter-ai@main
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
          OPENAI_API_MODEL: "gpt-4"

πŸ›£οΈ Future Development Roadmap

Triggering GitHub Actions for every event and comment can cost money at scale, using GitHub webhooks to listen to events would be a better approach. And with that, the Dexter AI project will continue under the name DevApe (devape.co). More details to be added soon!

Dexter - AI Code Reviewer is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Automated code review with Dexter AI using OpenAI models
alpha
Latest

Dexter - AI Code Reviewer is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.