Skip to content

Review PR with OpenAI GPT model

Actions
Review PR with OpenAI GPT model
v2.7
Latest
Star (0)

Tags

 (1)

Take Action

Review PR with OpenAI GPT model

Usage

Setup

Example Workflow:

# .github/workflows/review.yml

name: Review PR with OpenAI GPT model
on:
  pull_request:
    types: [opened]
  issue_comment:
    types: [created]
jobs:
  run-local-action:
    if: |
        github.event.pull_request ||
        (github.event.issue.pull_request &&
        startsWith(github.event.comment.body, 'openai'))
    name: Review PR
    runs-on: ubuntu-latest
    steps:
      - name: Run checkout
        uses: actions/checkout@v2
      - name: Display working directory files
        run: |
          echo "Working directory files:"
          ls -al
      - name: Run custom action
        uses: ./.github/actions
        with:
          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

Review PR with OpenAI GPT model is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Review PR with OpenAI GPT model
v2.7
Latest

Tags

 (1)

Review PR with OpenAI GPT model is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.