mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-21 01:56:47 +00:00
Added a new file for review test
This commit is contained in:
parent
a9a064dfa1
commit
0c57109255
3 changed files with 288 additions and 0 deletions
24
.github/workflows/main.yml
vendored
Normal file
24
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name : AI Code Reviewer
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
-open
|
||||
-synchronize
|
||||
|
||||
permissions: write-all
|
||||
jobs:
|
||||
review:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: AI Code Reviewer
|
||||
uses: Shubhadarsini/ai-code-reviewer@main
|
||||
|
||||
with:
|
||||
GITHUB_TOKEN: {{secrets.GITHUB_TOKEN}}
|
||||
OPENAI_API_KEY: {{secrets.OPENAI_API_KEY}}
|
||||
OPENAI_MODEL: "gpt-4"
|
||||
exclude: "**/*.json, **/*.md"
|
Loading…
Add table
Add a link
Reference in a new issue