Skip to content

Oh llama Code Reviewer

Actions
Code review using Ollama Automatically
v1.0.2
Latest
Star (0)

Ollama Code Review

This action can automatically review the pull request, will give comment and help to enhance the code quality.

Inputs

input require type description default
model Y string choose the model you'd like to use codellama

You can choose the model that Ollama provided, can be search here.

Features

  • Automatically get files changed in a pull request.
  • Runs the Ollama with the model you choose
  • Give comments for every change it reviewed

Usage

Here is a simple demo for this action.

name: PReviewer

on:
  pull_request:

jobs:
  # Single deploy job since we're just deploying
  reviewer:
    runs-on: ubuntu-latest
    permissions:
      contents: write
      pull-requests: write
    steps:
      - name: PR Review
        uses: RiceBen/oh-llama-review-action
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          model: llama3.2:3b

Oh llama 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

Code review using Ollama Automatically
v1.0.2
Latest

Oh llama 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.