Skip to content

Commit 9446925

Browse files
add claude pr review (#3120)
* add claude pr review * edits
1 parent 86f676e commit 9446925

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/pr-review.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Claude PR Review
2+
3+
on:
4+
issue_comment:
5+
types:
6+
- created
7+
pull_request:
8+
types:
9+
- opened
10+
11+
jobs:
12+
claude_review:
13+
if: |
14+
(
15+
github.event_name == 'pull_request' &&
16+
github.event.pull_request.draft == false
17+
) ||
18+
(
19+
github.event_name == 'issue_comment' &&
20+
github.event.issue.pull_request &&
21+
toLower(github.event.comment.user.type) != 'bot' &&
22+
contains(github.event.comment.body, '/claude-review')
23+
)
24+
uses: >-
25+
ActiveloopAI/shared-github-actions/.github/workflows/claude-pr-review.yaml@main
26+
secrets:
27+
OP_SERVICE_ACCOUNT_TOKEN: "${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}"

0 commit comments

Comments
 (0)