Files
AI-Account-Toolkit/.github/workflows/cr.yml
Anonymous f11f74569f Update cr.yml
add手动运行
2026-03-19 22:05:46 +08:00

24 lines
527 B
YAML

name: Code Review
permissions:
contents: read
pull-requests: write
on:
pull_request:
types: [opened, reopened]
workflow_dispatch:
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 }}
# optional
LANGUAGE: Chinese
PROMPT:
IGNORE_PATTERNS: /node_modules,*.md # Regex pattern to ignore files, separated by comma