Let ChatGPT review PRs for you
Let chatgpt review your PR.
Please note: this repo is a WIP and I do not recommend you to use it in production!
split: true
to with
node in your config to enable this feature.
on: [pull_request]
name: ChatGPT CodeReview
jobs:
chatgpt_comment:
runs-on: ubuntu-latest
name: Let chatgpt comment on your PR.
steps:
- name: ChatGPT comment
uses: kxxt/[email protected]
id: chatgpt
with:
number: ${{ github.event.pull_request.number }}
sessionToken: ${{ secrets.CHATGPT_SESSION_TOKEN }}
split: 'yolo' # Use true to enable the unstable split feature.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}