forked from Integral-Healthcare/robin-ai-reviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
33 lines (33 loc) · 1018 Bytes
/
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
name: 'Robin AI Reviewer'
description: 'Auto-Review your teams pull requests'
inputs:
GITHUB_TOKEN:
description: 'GitHub API token'
required: true
OPEN_AI_API_KEY:
description: 'Open API token'
required: true
gpt_model_name:
description: 'The OpenAI used to generate the chat completion'
required: false
default: 'gpt-3.5-turbo'
github_api_url:
description: 'URL to the API of your Github Server, only necessary for Github Enterprise customers'
required: false
default: 'https://api.github.com'
files_to_ignore:
description: 'Whitespace separated list of files to ignore'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
args:
- --github_token=${{ inputs.GITHUB_TOKEN }}
- --open_ai_api_key=${{ inputs.OPEN_AI_API_KEY }}
- --gpt_model_name=${{ inputs.gpt_model_name }}
- --github_api_url=${{ inputs.github_api_url }}
- --files_to_ignore=${{ inputs.files_to_ignore }}
branding:
icon: 'tag'
color: 'purple'