From 4c217cbe555395bd61a7e14aa21af73a04336263 Mon Sep 17 00:00:00 2001 From: vlad-activeloop Date: Tue, 20 Jan 2026 14:00:08 +0400 Subject: [PATCH 1/2] add claude pr review --- .github/workflows/pr-review.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pr-review.yaml diff --git a/.github/workflows/pr-review.yaml b/.github/workflows/pr-review.yaml new file mode 100644 index 0000000000..1376f7e00e --- /dev/null +++ b/.github/workflows/pr-review.yaml @@ -0,0 +1,27 @@ +name: Claude PR Review + +on: + issue_comment: + types: + - created + pull_request: + types: + - opened + +jobs: + claude_review: + if: | + ( + github.event_name == 'pull_request' && + github.event.pull_request.draft == false + ) || + ( + github.event_name == 'issue_comment' && + github.event.issue.pull_request && + github.event.comment.user.type != 'Bot' && + contains(github.event.comment.body, '/claude-review') + ) + uses: >- + ActiveloopAI/shared-github-actions/.github/workflows/claude-pr-review.yaml@main + secrets: + OP_SERVICE_ACCOUNT_TOKEN: "${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}" From a7afd7549bdd8555334c1ab6c7c0aa1f96792ee8 Mon Sep 17 00:00:00 2001 From: vlad-activeloop Date: Tue, 20 Jan 2026 14:03:05 +0400 Subject: [PATCH 2/2] edits --- .github/workflows/pr-review.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-review.yaml b/.github/workflows/pr-review.yaml index 1376f7e00e..fbbef18478 100644 --- a/.github/workflows/pr-review.yaml +++ b/.github/workflows/pr-review.yaml @@ -18,7 +18,7 @@ jobs: ( github.event_name == 'issue_comment' && github.event.issue.pull_request && - github.event.comment.user.type != 'Bot' && + toLower(github.event.comment.user.type) != 'bot' && contains(github.event.comment.body, '/claude-review') ) uses: >-