github.com/iotexproject/iotex-core@v1.14.1-rc1/.github/workflows/chatgpt.yaml (about)

     1  name: ChatGPT Code Review
     2  
     3  on:
     4    pull_request:
     5      types: [opened, synchronize]
     6  
     7  jobs:
     8    CodeReview:
     9      permissions: write-all
    10      name: ChatGPT Code Review
    11      runs-on: ubuntu-latest
    12      steps:
    13        - uses: fitomad/github-chatgpt-integration@main
    14          with:
    15            openai-api-key: ${{ secrets.OPENAI_TOKEN }}
    16            github-token: ${{ secrets.GITHUB_TOKEN }}
    17            github-pr-id: ${{ github.event.number }}
    18            dev-lang: Go
    19            openai-max-tokens: 3072
    20            #openai-engine: "code-davinci-002" # "gpt-4"
    21            #exclude-dir: ""