-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
53 lines (47 loc) · 1.34 KB
/
action.yml
File metadata and controls
53 lines (47 loc) · 1.34 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
name: "AI Code Review"
description: "Automate PR reviews using multiple AI providers with framework-specific expertise; comments only on added lines."
author: "UPDIVISION"
branding:
icon: "code-review"
color: "blue"
inputs:
ai_provider:
description: "AI provider to use for code review (openai, claude, gemini, deepseek)"
required: true
framework:
description: "Framework for specialized code review (laravel, vue, nuxt, react, nextjs)"
required: true
github_token:
description: "GitHub token for PR access"
required: true
# OpenAI specific
openai_api_key:
description: "OpenAI API key"
required: false
openai_assistant_id:
description: "OpenAI Assistant ID"
required: false
# Claude specific
claude_api_key:
description: "Anthropic Claude API key"
required: false
# Gemini specific
gemini_api_key:
description: "Google Gemini API key"
required: false
# DeepSeek specific
deepseek_api_key:
description: "DeepSeek API key"
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.ai_provider }}
- ${{ inputs.framework }}
- ${{ inputs.github_token }}
- ${{ inputs.openai_api_key }}
- ${{ inputs.openai_assistant_id }}
- ${{ inputs.claude_api_key }}
- ${{ inputs.gemini_api_key }}
- ${{ inputs.deepseek_api_key }}