From aac53695c447dab3260c70d3896313d614a48e65 Mon Sep 17 00:00:00 2001 From: Cale Switzer Date: Mon, 17 Nov 2025 11:20:56 -0500 Subject: [PATCH 1/4] test: pr analyzer fork fix --- .github/workflows/claude-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 67145129a..66fb96cf1 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -10,4 +10,4 @@ on: jobs: claude-review: - uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@main \ No newline at end of file + uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@fix-fork-issues \ No newline at end of file From 6ab29cf6cc36d21f0eadd0cce0278f88638c9ac0 Mon Sep 17 00:00:00 2001 From: Cale Switzer Date: Thu, 20 Nov 2025 10:34:27 -0500 Subject: [PATCH 2/4] changes for testing --- .github/workflows/claude-code-review.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 66fb96cf1..da11e9d74 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -1,6 +1,8 @@ name: Claude Code PR Review on: + pull_request: + types: [ opened, synchronize, reopened, edited ] issue_comment: types: [ created ] pull_request_review_comment: From 34cea44006d3c22763982dab9dbba2154fba21e5 Mon Sep 17 00:00:00 2001 From: Cale Switzer Date: Thu, 20 Nov 2025 12:28:16 -0500 Subject: [PATCH 3/4] Update claude-code-review.yml --- .github/workflows/claude-code-review.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index da11e9d74..4867b37c1 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -12,4 +12,9 @@ on: jobs: claude-review: - uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@fix-fork-issues \ No newline at end of file + permissions: + contents: write + pull-requests: write + issues: write + id-token: write + uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@fix-fork-issues From 6557df3cd03889d13eafdef958dabb81ea3ce660 Mon Sep 17 00:00:00 2001 From: Cale Switzer Date: Thu, 20 Nov 2025 12:42:45 -0500 Subject: [PATCH 4/4] Modify CLAUDE code review workflow configuration Updated the workflow to use pull_request_target instead of pull_request and removed unnecessary permissions. --- .github/workflows/claude-code-review.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 4867b37c1..803751d49 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -1,7 +1,7 @@ name: Claude Code PR Review on: - pull_request: + pull_request_target: types: [ opened, synchronize, reopened, edited ] issue_comment: types: [ created ] @@ -12,9 +12,4 @@ on: jobs: claude-review: - permissions: - contents: write - pull-requests: write - issues: write - id-token: write uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@fix-fork-issues