Skip to content

Refactor/api separate #gpt #21

Refactor/api separate #gpt

Refactor/api separate #gpt #21

Workflow file for this run

name: Code Review
permissions:
contents: read
pull-requests: write
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
if: ${{ contains(github.event.pull_request.title, '#gpt') || contains(github.event.pull_request.body, '#gpt') }}
steps:
- uses: anc95/ChatGPT-CodeReview@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.GPT_KEY }}
# optional
LANGUAGE: Korean
max_tokens: 10000
MAX_PATCH_LENGTH: 10000
ACTIONS_STEP_DEBUG: true
IGNORE_PATTERNS: /dist, /node_modules,*.md # Regex pattern to ignore files, separated by comma
INCLUDE_PATTERNS: '*.js, *.ts, *.jsx, *.tsx' # glob pattern or regex pattern to include files, separated by comma