forked from aidar-freeed/ai-codereviewer
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathaction.yml
28 lines (28 loc) · 779 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
name: "AI PR Review Action"
description: "Perform code reviews and comment on diffs using Azure OpenAI API."
inputs:
GITHUB_TOKEN:
description: "GitHub token to interact with the repository."
required: true
AZURE_OPENAI_ENDPOINT:
description: "Azure OpenAI endpoint"
required: true
AZURE_OPENAI_API_KEY:
description: "Azure OpenAI API key"
required: true
AZURE_OPENAI_API_VERSION:
description: "Azure OpenAI API version"
required: true
AZURE_OPENAI_DEPLOYMENT:
description: "Azure OpenAI deployment"
required: true
exclude:
description: "Glob patterns to exclude files from the diff analysis"
required: false
default: ""
runs:
using: "node16"
main: "dist/index.js"
branding:
icon: "aperture"
color: "green"