Skip to content

Commit

Permalink
open ai pr review (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
swuecho authored Mar 21, 2023
1 parent 9bcba03 commit a27a755
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,25 @@ env:
PG_HOST: localhost
PG_PASS: thisisapassword

concurrency:
group:
${{ github.repository }}-${{ github.event.number || github.head_ref ||
github.sha }}-${{ github.workflow }}-${{ github.event_name ==
'pull_request_review_comment' && 'pr_comment' || 'pr' }}
cancel-in-progress: ${{ github.event_name != 'pull_request_review_comment' }}

jobs:
build_api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: fluxninja/openai-pr-reviewer@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
with:
debug: false
review_comment_lgtm: false
- name: Set up Go
uses: actions/setup-go@v3
with:
Expand Down

0 comments on commit a27a755

Please sign in to comment.