Skip to content

load github event path dynamically from env #16

load github event path dynamically from env

load github event path dynamically from env #16

Workflow file for this run

name: Test
on:
# push:
# branches:
# - "main"
pull_request:
# issue_comment:
# pull_request_review_comment:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: ChatGPT Reviewer
uses: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_BASE: ${{ secrets.OPENAI_API_BASE }}
with:
temperature: 0.1
review_per_file: true
comment_per_file: true
model: gpt-35-turbo