Skip to content

Action started by emanuel-braz #42

Action started by emanuel-braz

Action started by emanuel-braz #42

Workflow file for this run

name: Code Reviewer
run-name: Action started by ${{ github.actor }}
on:
pull_request:
types:
- opened
- synchronize
permissions: write-all
jobs:
code-review:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Code Review the pull request
uses: ./code-review
with:
token: ${{ secrets.GITHUB_TOKEN }}
openai_key: ${{ secrets.OPENAI_KEY }}
max_tokens: 900
exclude: "**/*.json, **/*.md, **/*.g.dart"
append_prompt: |
- Give a maximum of 4 suggestions
- Do not suggest code formatting issues.
- Do not suggest imports issues.