forked from aidar-freeed/ai-codereviewer
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathaction.yml
46 lines (46 loc) · 1.28 KB
/
action.yml
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
name: "AI Code Review Action v2"
description: "Advanced AI-powered code reviews with multiple model support"
inputs:
GITHUB_TOKEN:
description: "GitHub token"
required: true
AI_PROVIDER:
description: "AI provider (openai, anthropic, google)"
required: true
default: "openai"
AI_MODEL:
description: "AI model to use"
required: true
default: "gpt-4"
AI_API_KEY:
description: "API key for the chosen AI provider"
required: true
AI_TEMPERATURE:
description: "Temperature for AI model (higher values = more creativity and variance)"
required: false
default: "0"
APPROVE_REVIEWS:
description: "Whether to approve/reject PRs automatically"
required: false
default: "true"
MAX_COMMENTS:
description: "Maximum number of review comments"
required: false
default: "0"
PROJECT_CONTEXT:
description: "Additional context about the project"
required: false
CONTEXT_FILES:
description: "Files to include in review (comma-separated)"
required: false
default: "package.json,README.md"
EXCLUDE_PATTERNS:
description: "Files to exclude (glob patterns)"
required: false
default: "**/*.lock,**/*.json,**/*.md"
runs:
using: "node20"
main: "dist/index.js"
branding:
icon: "code"
color: "purple"