Action started by emanuel-braz #43
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
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. |