mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-21 10:06:47 +00:00
20 lines
619 B
YAML
20 lines
619 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@main
|
|
with:
|
|
GITHUB_TOKEN: "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"
|
|
OPENAI_API_KEY: "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"
|
|
OPENAI_API_MODEL: "gpt-4-1106-preview"
|
|
exclude: "yarn.lock,dist/**"
|