mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
added workflow
This commit is contained in:
parent
c6052165ed
commit
051c3f7aaf
1 changed files with 24 additions and 11 deletions
35
.github/workflows/codereviewer.yaml
vendored
35
.github/workflows/codereviewer.yaml
vendored
|
@ -8,16 +8,29 @@ on:
|
||||||
- synchronize
|
- synchronize
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
jobs:
|
jobs:
|
||||||
review:
|
# review:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout Repo
|
# - name: Checkout Repo
|
||||||
uses: actions/checkout@v3
|
# 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
|
||||||
|
|
||||||
- name: AI Code Reviewer
|
codeball_job:
|
||||||
uses: thankthemaker/ai-code-reviewer@main
|
runs-on: ubuntu-latest
|
||||||
|
name: Codeball
|
||||||
|
steps:
|
||||||
|
- name: Codeball
|
||||||
|
uses: sturdy-dev/codeball-action@v2
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
# For all configuration options see https://github.com/sturdy-dev/codeball-action/blob/v2/action.yml
|
||||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
approvePullRequests: "true"
|
||||||
OPENAI_API_MODEL: "gpt-4" # Optional: defaults to "gpt-4"
|
labelPullRequestsWhenApproved: "true"
|
||||||
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas
|
labelPullRequestsWhenReviewNeeded: "false"
|
||||||
|
failJobsWhenReviewNeeded: "false"
|
||||||
|
|
Loading…
Reference in a new issue