We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can bots review during push event on github as well? I set it as below but it doesn't seem to work. Is there a way? API_KEY registered successfully.
name: Code Review
permissions: contents: read pull-requests: write
on: pull_request: branches: - main types: [opened, reopened, synchronize] push: branches: - main jobs: test: runs-on: ubuntu-latest steps: - uses: anc95/ChatGPT-CodeReview@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} LANGUAGE: Chinese OPENAI_API_ENDPOINT: https://api.openai.com/v1 MODEL: gpt-3.5-turbo-1106
The text was updated successfully, but these errors were encountered:
Have you checked the CI job, was it run successfully?
Sorry, something went wrong.
@anc95 Of course, I checked it
Works for me:
on: push: branches: - 'master' pull_request: types: [opened, reopened, synchronize]
No branches or pull requests
Can bots review during push event on github as well? I set it as below but it doesn't seem to work. Is there a way?
API_KEY registered successfully.
.github/workflows/cr.yml
name: Code Review
permissions:
contents: read
pull-requests: write
on:
pull_request:
branches:
- main
types: [opened, reopened, synchronize]
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: anc95/ChatGPT-CodeReview@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
LANGUAGE: Chinese
OPENAI_API_ENDPOINT: https://api.openai.com/v1
MODEL: gpt-3.5-turbo-1106
The text was updated successfully, but these errors were encountered: