Files
linux-odyssey/.github/workflows/pull-request.yml
T
wancat 7d25c7efaa feat: update workflows
* build images with automatic tags
* separate staging and production deployment
* reuse workflows
2023-11-18 18:05:42 +08:00

29 lines
592 B
YAML

name: Pull Request Workflow
on:
pull_request:
jobs:
ci-checks:
uses: ./.github/workflows/ci-checks.yml
code_review:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Code Review GPT
uses: mattzcarey/code-review-gpt@v0.1.4-alpha
with:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
MODEL: 'gpt-4-1106-preview'
GITHUB_TOKEN: ${{ github.token }}
build:
uses: ./.github/workflows/build.yml
needs: ci-checks