Skip to content

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

License

Notifications You must be signed in to change notification settings

RiceBen/oh-llama-review-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks