Skip to content

Commit

Permalink
Merge pull request #4 from ca-risken/feature/delete_workflow
Browse files Browse the repository at this point in the history
modify workflows
  • Loading branch information
senk8 committed Apr 4, 2024
2 parents 136b5b8 + 5836d2c commit 7f65430
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 81 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/code-butler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,13 @@ on:
branches:
- main
types: [opened, synchronize]
issue_comment:
types: [created]

jobs:
review-pr:
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
review:
if: startsWith(github.event.comment.body, '/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
chat:
if: startsWith(github.event.comment.body, '/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 }}
30 changes: 0 additions & 30 deletions code-butler.yml

This file was deleted.

30 changes: 0 additions & 30 deletions workflows/code-butler.yml

This file was deleted.

0 comments on commit 7f65430

Please sign in to comment.