mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 17:46:47 +00:00
Moving actions and workflows to their own folders
This commit is contained in:
parent
1389e1211e
commit
320194bd54
7 changed files with 29492 additions and 2 deletions
25
act/fixtures/workflows/code_review.yml
Normal file
25
act/fixtures/workflows/code_review.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: CDS Code Review with OpenAI
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
|
||||
permissions: write-all
|
||||
jobs:
|
||||
code_review:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: ./
|
||||
- name: Code Review
|
||||
uses: ./act/fixtures/actions
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
OPENAI_API_MODEL: ${{ vars.OPENAI_API_MODEL }}
|
||||
OPENAI_API_VERSION: ${{ vars.OPENAI_API_VERSION }}
|
||||
OPENAI_BASE_URL: ${{ vars.OPENAI_BASE_URL }}
|
||||
exclude: "yarn.lock,dist/**"
|
Loading…
Add table
Add a link
Reference in a new issue