mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Merge pull request #39 from PierreGode/PierreGode-patch-1
Create review.yml
This commit is contained in:
commit
b9f61f33c9
22
.github/workflows/review.yml
vendored
Normal file
22
.github/workflows/review.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: AI Code Reviewer
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
|
permissions: write-all
|
||||||
|
jobs:
|
||||||
|
review:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: AI Code Reviewer
|
||||||
|
uses: freeedcom/ai-codereviewer@v2.7.0
|
||||||
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.G_TOKEN }}
|
||||||
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
|
OPENAI_API_MODEL: "gpt-4-turbo-2024-04-09" # Optional: defaults to "gpt-4"
|
||||||
|
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas
|
||||||
Loading…
x
Reference in New Issue
Block a user