Skip to content

Action started by emanuel-braz #19

Action started by emanuel-braz

Action started by emanuel-braz #19

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 }}
exclude: "**/*.json, **/*.md, **/*.g.dart"
append_prompt: |
Give a maximum of 3 suggestions.
All suggestions must be in portuguese (pt-br), and must follow Markdown syntax.