-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
45 lines (44 loc) · 1.15 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
name: 'RepoFixAI Code Review'
description: 'AI-powered code reviews and issue labeling'
author: 'Manav Manoj'
inputs:
groq_api_key:
description: 'GROQ API Key'
required: true
groq_model:
description: 'GROQ Model to use'
required: true
github_token:
description: 'GitHub Token'
required: true
exclude_extensions:
description: 'File extensions to exclude'
required: false
repo_owner:
description: 'Repository owner'
required: true
repo_name:
description: 'Repository name'
required: true
event_number:
description: 'Event number'
required: true
event_name:
description: 'GitHub event name'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.event_name }}
env:
GROQ_API_KEY: ${{ inputs.groq_api_key }}
GROQ_MODEL: ${{ inputs.groq_model }}
GITHUB_TOKEN: ${{ inputs.github_token }}
EXCLUDE_EXTENSIONS: ${{ inputs.exclude_extensions }}
REPO_OWNER: ${{ inputs.repo_owner }}
REPO_NAME: ${{ inputs.repo_name }}
EVENT_NUMBER: ${{ inputs.event_number }}
branding:
icon: 'zap'
color: 'white'