Change akiojin code review CI to GPT4s #1374 #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/akiojin/auto-review-github-action | |
# https://qiita.com/akiojin/items/c7fce6084c558180eb0d | |
name: Code Review by akiojin GPT-4 | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
review: | |
name: Code Review by auto-review-github-action | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Auto Review by OpenAI | |
uses: akiojin/auto-review-github-action@v1.1.1 | |
if: github.event_name == 'pull_request' | |
continue-on-error: true | |
with: | |
openai-api-key: ${{ secrets.OPENAI_API_KEY }} | |
model: gpt-4 | |
target: 'html,css,ts,js,svelte,cjs,md,yml' | |
language: English |