Update codereviewer.yaml

This commit is contained in:
ThankTheMaker 2023-10-19 17:37:40 +02:00 committed by GitHub
parent 051c3f7aaf
commit 62292b1dfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,29 +8,16 @@ on:
- synchronize - synchronize
permissions: write-all permissions: write-all
jobs: jobs:
# review: review:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Repo
# uses: actions/checkout@v3
#
# - name: AI Code Reviewer
# uses: thankthemaker/ai-code-reviewer@main
# with:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
# OPENAI_API_MODEL: "gpt-4" # Optional: defaults to "gpt-4"
# exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas
codeball_job:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Codeball
steps: steps:
- name: Codeball - name: Checkout Repo
uses: sturdy-dev/codeball-action@v2 uses: actions/checkout@v3
- name: AI Code Reviewer
uses: thankthemaker/ai-code-reviewer@main
with: with:
# For all configuration options see https://github.com/sturdy-dev/codeball-action/blob/v2/action.yml GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
approvePullRequests: "true" OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
labelPullRequestsWhenApproved: "true" OPENAI_API_MODEL: "gpt-4" # Optional: defaults to "gpt-4"
labelPullRequestsWhenReviewNeeded: "false" exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas
failJobsWhenReviewNeeded: "false"