Skip to content

feat: example code

feat: example code #1

Workflow file for this run

name: Code Review with RebotAI
on:
issue_comment:
types: [created]
jobs:
code_review:
if: >
github.event.issue.pull_request != null &&
contains(github.event.comment.body, '/review')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: RebotAI Code Review
uses: fiqryq/[email protected]
with:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}