Skip to content

Commit

Permalink
chatgpt review
Browse files Browse the repository at this point in the history
  • Loading branch information
mlapaglia committed Dec 16, 2023
1 parent 158f807 commit b68c81a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/chatgpt-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
pull_request:
types: [opened, synchronize]
jobs:
chatgpt_review:
runs-on: ubuntu-latest
name: ChatGPT explain code
steps:
- name: ChatGTP explain code
uses: cirolini/[email protected]
with:
openai_api_key: ${{ secrets.OPENAI_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
github_pr_id: ${{ github.event.number }}
openai_engine: "text-davinci-002"
openai_temperature: 0.5
mode: file

0 comments on commit b68c81a

Please sign in to comment.