Skip to content

Commit

Permalink
WIP test review code by AI
Browse files Browse the repository at this point in the history
  • Loading branch information
sshnaidm committed Feb 19, 2024
1 parent e5359c5 commit 4e9c06d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/aicodereview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: OpenAI Code review Github Action
uses: sshnaidm/gpt-code-review-action@v2.0
with:
openai-key: ${{ secrets.OPENAI_API_KEY }}
max-length: 4000
model: 'gpt-4'
prompt: 'You are helpful assistant is here to review the code change below and provide feedback.'

0 comments on commit 4e9c06d

Please sign in to comment.