Skip to content

Commit

Permalink
update pr-review
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Jun 2, 2023
1 parent aa1ffaa commit 04c64f0
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/code-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ permissions:
pull-requests: write

on:
workflow_dispatch:
# on:
# pull_request_target:
# branches:
# - master
# - release-*
# paths-ignore:
# - 'docs/**'
# - '**.md'
# - 'go.mod'
# - 'go.sum'
pull_request_target:
branches:
- master
- release-*
paths-ignore:
- 'docs/**'
- '**.md'
- 'go.mod'
- 'go.sum'

jobs:
review-code:
Expand All @@ -25,4 +23,5 @@ jobs:
uses: oilbeater/smart-review@main
with:
apiKey: ${{ secrets.OPENAI_API_KEY }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
apiBaseUrl: ${{ secrets.OPENAI_API_BASE_URL }}

0 comments on commit 04c64f0

Please sign in to comment.