Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
fix: azure
Browse files Browse the repository at this point in the history
  • Loading branch information
chocopun committed Dec 25, 2023
1 parent d5ec397 commit ddf5167
Show file tree
Hide file tree
Showing 8 changed files with 1,185 additions and 221 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/openai-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permissions:
pull-requests: write

on:
pull_request_target:
pull_request:
types: [opened, synchronize, reopened]
pull_request_review_comment:
types: [created]
Expand All @@ -19,6 +19,7 @@ concurrency:

jobs:
review:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -29,7 +30,10 @@ jobs:
- uses: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
AZURE_OPENAI_API_KEY: ${{ Secrets.AZURE_OPENAI_API_KEY }}
AZURE_OPENAI_API_INSTANCE_NAME: ${{ Secrets.AZURE_OPENAI_API_INSTANCE_NAME }}
AZURE_OPENAI_API_DEPLOYMENT_NAME: ${{ Secrets.AZURE_OPENAI_API_DEPLOYMENT_NAME }}
AZURE_OPENAI_API_VERSION: '2023-12-01-preview'
with:
debug: true
review_comment_lgtm: false
Expand Down
Loading

0 comments on commit ddf5167

Please sign in to comment.