Skip to content

Commit fc905ff

Browse files
authored
Create review-ai.yml
1 parent c81e986 commit fc905ff

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/review-ai.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Run ai-reviewer"
2+
3+
permissions:
4+
pull-requests: write
5+
contents: read
6+
7+
on:
8+
pull_request:
9+
types: [opened, synchronize, reopened]
10+
workflow_dispatch:
11+
12+
jobs:
13+
run-review:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Gemini Review Bot
17+
uses: Nasubikun/ai-reviewer@v1
18+
with:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
21+
LANGUAGE: "English"
22+
EXCLUDE_PATHS: "docs"

0 commit comments

Comments
 (0)