ai-codereviewer/.github/workflows/code_review.yml

20 lines
478 B
YAML
Raw Normal View History

2023-03-22 21:16:13 +00:00
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
2023-03-22 22:27:43 +00:00
uses: freeedcom/ai-codereviewer@main
2023-03-22 21:16:13 +00:00
with:
2023-03-22 22:40:18 +00:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2023-03-22 21:16:13 +00:00
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
exclude: "yarn.lock,dist/**"