-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
78 lines (61 loc) · 1.97 KB
/
Copy pathaction.yml
File metadata and controls
78 lines (61 loc) · 1.97 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: 'AI Code Review // VERY POWERFULL'
description: '🤖 AI-powered automated code review with GPT-5, Claude, Gemini. Deep static analysis, AST parsing, linter integration.'
author: 'zxcloli666'
branding:
icon: 'check-circle'
color: 'purple'
runs:
using: 'node20'
main: 'dist/out.js'
inputs:
GITHUB_TOKEN:
description: 'GitHub token for API access'
required: true
OPENAI_API_KEY:
description: 'OpenAI API key for AI-powered code review'
required: false
OPENAI_API_MODEL:
description: 'OpenAI model to use (gpt-5, gpt-5-high, o3, o3-mini, etc.)'
required: false
default: 'gpt-5'
OPENAI_API_BASE_URL:
description: 'OpenAI API base URL (for custom endpoints or proxies)'
required: false
default: 'https://api.openai.com/v1'
REVIEW_LANGUAGE:
description: 'Language for review comments (en, ru, es, fr, de, etc.)'
required: false
default: 'en'
SILENT_MODE:
description: 'Post reviews as silent comments to reduce notifications'
required: false
default: 'false'
MAX_CHUNK_SIZE:
description: 'Maximum tokens per chunk for large PRs'
required: false
default: '6000'
ENABLE_LINTERS:
description: 'Run linters on changed files (ESLint, Pylint, etc.)'
required: false
default: 'true'
ENABLE_AST:
description: 'Enable AST (Abstract Syntax Tree) analysis for deep code understanding'
required: false
default: 'true'
ENABLE_DEPENDENCY_ANALYSIS:
description: 'Analyze function dependencies and call graphs'
required: false
default: 'true'
SEVERITY_THRESHOLD:
description: 'Minimum severity level to report (info, warning, error)'
required: false
default: 'warning'
outputs:
review_status:
description: 'Review status: approved, needs-changes, or rejected'
issues_found:
description: 'Total number of issues found'
critical_issues:
description: 'Number of critical issues found'
review_url:
description: 'URL to the review comment'