Skip to content

Add format specifier rules #2

Add format specifier rules

Add format specifier rules #2

Workflow file for this run

name: Code Butler
permissions:
contents: read
pull-requests: write
on:
issue_comment:
types: [created]
jobs:
review:
if: startsWith(github.event.comment.body, '/butler-review')
runs-on: ubuntu-latest
steps:
- uses: ca-dp/code-butler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
cmd: review
lang: ja
model: gpt-4-turbo-2024-04-09
chat:
if: startsWith(github.event.comment.body, '/butler-chat')
runs-on: ubuntu-latest
steps:
- uses: ca-dp/code-butler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
cmd: chat
comment_body: ${{ github.event.comment.body }}
lang: ja