Skip to content

Commit 9605fa2

Browse files
committed
add AI PR Reviewer action
1 parent 8af3cf0 commit 9605fa2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/code_reviewer.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: AI PR Reviewer
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
permissions: write-all
9+
jobs:
10+
review:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repo
14+
uses: actions/checkout@v3
15+
16+
- name: TC AI PR Reviewer
17+
uses: topcoder-platform/tc-ai-pr-reviewer@master
18+
with:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The GITHUB_TOKEN is there by default so you just need to keep it like it is and not necessarily need to add it as secret as it will throw an error. [More Details](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret)
20+
LAB45_API_KEY: ${{ secrets.LAB45_API_KEY }}
21+
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas

0 commit comments

Comments
 (0)