mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2024-11-26 22:19:03 +00:00
20 lines
495 B
YAML
20 lines
495 B
YAML
name: 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@v3
|
|
- name: Code Review
|
|
uses: freeedcom/ai-codereviewer@improve-the-AI-output
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
exclude: "yarn.lock,dist/**"
|