ai-codereviewer/action.yml
2023-03-23 00:29:23 +02:00

17 lines
461 B
YAML

name: "AI Code Review Action"
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
exclude:
description: "Glob patterns to exclude files from the diff analysis"
required: false
default: ""
runs:
using: "node16"
main: "dist/index.js"