-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathaction.yml
More file actions
50 lines (46 loc) · 1.6 KB
/
action.yml
File metadata and controls
50 lines (46 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: 'Keploy-AI Code Review'
description: 'Provides automated, AI-powered code reviews on pull requests with a resilient fallback system using GitHub Models and Ollama.'
author: 'Keploy'
branding:
icon: 'git-pull-request'
color: 'blue'
inputs:
github-token:
description: 'Required. The GITHUB_TOKEN secret.'
required: true
model:
description: 'The primary AI model to use (e.g., from GitHub Models).'
required: false
default: 'gpt-4o-mini'
ollama-model:
description: 'The Ollama model to use as a fallback if the primary model fails.'
required: false
default: 'qwen2:7b'
use-ollama-fallback:
description: 'Enable the Ollama fallback system.'
required: false
default: 'true'
max-tokens:
description: 'The token limit for smart diff prioritization. Diffs larger than this will be summarized.'
required: false
default: '8000'
temperature:
description: 'The creativity/randomness of the AI model (0.0 to 2.0).'
required: false
default: '0.2'
ignore-patterns:
description: 'Comma-separated list of file patterns to ignore (e.g., "*.md,dist/**").'
required: false
default: ''
include-patterns:
description: 'Comma-separated list of file patterns to force-include (overrides ignore).'
required: false
default: ''
outputs:
review-posted:
description: '"true" if a review comment was successfully posted, otherwise "false".'
review-provider:
description: 'The provider that generated the review (github-models, ollama, or static-fallback).'
runs:
using: 'docker'
image: 'docker://ghcr.io/keploy/code-review-agent:v1'