-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Gitignore and package.json files, and implement GPT code review a…
…ction
- Loading branch information
0 parents
commit de6a698
Showing
5 changed files
with
750 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Node.js | ||
node_modules/ | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# Docker | ||
.dockerignore | ||
.docker/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'GPT Review' | ||
description: 'Submit PR Diff to GPT for Review' | ||
inputs: | ||
github_token: | ||
description: 'GitHub token. Required for posting comments to a pull request.' | ||
required: true | ||
openai_api_key: | ||
description: 'OpenAI API key. Required if the OPENAI_API_KEY environment variable is not set.' | ||
required: false | ||
pr_review_prompt_template: | ||
description: 'Provide a PR review prompt template to optionally override the default prompt template with your own.' | ||
required: false | ||
default: '' | ||
outputs: | ||
pr_review: | ||
description: 'The PR review text.' | ||
runs: | ||
using: 'node20' | ||
main: './src/action.js' |
Oops, something went wrong.