2023-03-22 22:27:43 +00:00
|
|
|
name: "AI Code Review Action"
|
2023-03-22 21:16:13 +00:00
|
|
|
description: "Perform code reviews and comment on diffs using OpenAI API."
|
|
|
|
inputs:
|
|
|
|
GITHUB_TOKEN:
|
|
|
|
description: "GitHub token to interact with the repository."
|
|
|
|
required: true
|
|
|
|
OPENAI_API_KEY:
|
|
|
|
description: "OpenAI API key for GPT."
|
|
|
|
required: true
|
2023-07-07 20:35:48 +00:00
|
|
|
OPENAI_API_MODEL:
|
|
|
|
description: "OpenAI API model."
|
|
|
|
required: false
|
|
|
|
default: "gpt-4"
|
2023-03-22 21:16:13 +00:00
|
|
|
exclude:
|
|
|
|
description: "Glob patterns to exclude files from the diff analysis"
|
|
|
|
required: false
|
|
|
|
default: ""
|
|
|
|
runs:
|
|
|
|
using: "node16"
|
|
|
|
main: "dist/index.js"
|
2023-03-27 23:06:20 +00:00
|
|
|
branding:
|
|
|
|
icon: "aperture"
|
|
|
|
color: "green"
|