examples/

directory
v0.0.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2026 License: Apache-2.0

README

Examples

This directory contains ready-to-use prev configuration profiles.

These files are documentation and operational examples only. They are not embedded into the binary.

Available Profiles

  • configs/v1-minimal-openai.yml: minimal OpenAI setup
  • configs/v1-gitlab-ci-review.yml: CI-oriented MR review profile
  • ../ci/prev-config-github.yml: GitHub PR review profile used by repo workflow
  • configs/v1-strict-mr-review.yml: strict/high-coverage MR review
  • configs/v1-gemini.yml: Gemini provider via OpenAI-compatible endpoint
  • configs/v1-local-ollama.yml: local/self-hosted ollama profile

CI Examples

  • ci/gitlab-ci.yml: GitLab pipeline job for MR review
  • ci/github-actions-review.yml: GitHub Actions workflow for PR review
  • ../.github/workflows/prev-review.yml: repository workflow running prev on PRs
  • hooks/gitlab-note-trigger/main.go: example webhook receiver for immediate prev ... note handling on GitLab

Usage

mkdir -p "$HOME/.config/prev"
cp examples/configs/v1-minimal-openai.yml "$HOME/.config/prev/config.yml"
prev config validate

Directories

Path Synopsis
hooks

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL