Dexter AI Code Review Workflow #63
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: Dexter AI Code Review Workflow | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
issue_comment: | |
types: [created] | |
permissions: write-all | |
jobs: | |
pr_review: # Unique identifier for the job | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.DEXTERAIDEV_ACCOUNT_TOKEN }} | |
- name: Code Review | |
uses: suitedaces/dexter-ai@main | |
with: | |
GITHUB_TOKEN: ${{ secrets.DEXTERAIDEV_ACCOUNT_TOKEN }} | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
OPENAI_API_MODEL: "gpt-4" |