Skip to content

Commit

Permalink
Merge pull request #9 from ca-dp/releases/add-code-butler-action
Browse files Browse the repository at this point in the history
Add Code Butler Action
  • Loading branch information
ouchi2501 authored Sep 26, 2023
2 parents 800fbdc + a9b085c commit 29052a8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/code-butler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Code Butler

permissions:
contents: read
pull-requests: write

on:
issue_comment:
types: [created]

jobs:
code-butler:
if: startsWith(github.event.comment.body, '/review')
runs-on: ubuntu-latest
steps:
- uses: ca-dp/code-butler@latest
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

0 comments on commit 29052a8

Please sign in to comment.