Skip to content

feat: listen to pull request labeled web hook #82

feat: listen to pull request labeled web hook

feat: listen to pull request labeled web hook #82

name: Code Review
permissions:
contents: read
pull-requests: write
on:
pull_request:
types: [opened, synchronize, labeled]
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: ${{ vars.LANGUAGE}}
CUSTOMIZED_PROMPT: ${{ vars.CUSTOMIZED_PROMPT }}