-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (22 loc) · 865 Bytes
/
PRs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Assign and Review
run-name: "🦾 Reviewing ${{ github.event_name == 'pull_request' && format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title) || format('latest {0}', github.ref_name) }}"
on:
pull_request:
types: [opened, reopened, synchronize]
permissions: write-all
jobs:
assign-and-review:
name: Assign and Review
runs-on: ubuntu-latest
steps:
- uses: grebbops/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Checkout Repo
uses: actions/checkout@v4
# - name: Review
# uses: grebbops/ai-codereviewer@develop
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
# exclude: ".github/**/*, **/*.json, **/*.md, _ci/backstop/bd/**/*"