Skip to content

test: pr labeled

test: pr labeled #79

name: Code Review
permissions:
contents: read
pull-requests: write
on:
pull_request:
types: [opened, synchronize]
jobs:
code-review:
runs-on: ubuntu-latest
steps:
- uses: Louis-7/ai-code-review@development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
PATH_TO_EXCLUDE: action/**/*, package-lock.json, package.json
MAX_FILE_PER_PR: 20
LANGUAGE: Chinese