Fixed issue with Action

This commit is contained in:
Bhavik MacBook PRO 16 2023-04-05 16:12:10 +05:30
parent ff1d104dca
commit 3fc8120d66
2 changed files with 8 additions and 8 deletions

View file

@ -1,17 +1,17 @@
name: Gitea Code Review
description: A GitHub Action that uses OpenAI ChatGPT to review code in pull request.
description: A GitHub Action that uses OpenAI to review code in pull request.
inputs:
PROGRAMMING_LANGUAGE:
description: 'The programming language used in the GitHub repository. If not provided, the detected programming language will be used.'
default: ''
FULL_REVIEW_COMMENT:
description: 'The comment to trigger a code review for the pull request.'
default: 'chatgpt'
default: 'openai'
REVIEW_COMMENT_PREFIX:
description: 'The comment prefix to trigger a code review with the comment content.'
default: 'chatgpt:'
default: 'openai:'
OPENAI_TOKEN:
description: 'The API token for the OpenAI ChatGPT API.'
description: 'The API token for the OpenAI API.'
required: true
GITHUB_TOKEN:
description: 'The API token for the Github API.'