GPT AUTO REVIEW
This workflow automatically reviews pull requests when they are opened, synced, or labeled.
- Place this workflow in the
.github/workflows
directory of your repository. - Add
GPT_API_KEY
to your GitHub repository secrets. - Create or update a pull request and label it
auto-review
. - The workflow will run and review automatically. Review results are displayed as pull request comments.
My Workflow consists of the following jobs.
- gpt-auto-review: Runs when a pull request is open, synced, or labeled
auto-review
. This job performs the following steps:- Checkout repository
- Get pull request information
- Install Rust
- run build
- Run
gpt-auto-review
to review the pull request. - Post the review result as a pull request comment.
Now let's use My Workflow to easily perform automated pull request reviews.