You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
loop/.github/workflows/gpt_review.yml

34 lines
872 B
YAML

name: Syntax Review
on: [push, pull_request]
jobs:
gpt_review:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Syntax Review
uses: nodify-at/gpt-pull-bot@1.0.3
with:
api-key: ${{ secrets.GPT_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}
model: gpt-3.5-turbo
review-focus: syntax
- name: Performance Review
uses: nodify-at/gpt-pull-bot@1.0.3
with:
api-key: ${{ secrets.GPT_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}
model: gpt-3.5-turbo
review-focus: performance
- name: Security Review
uses: nodify-at/gpt-pull-bot@1.0.3
with:
api-key: ${{ secrets.GPT_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}
model: gpt-3.5-turbo
review-focus: security