WIP test review code by AI #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.' |