From d20b549b04c70a1a33b5b58a114d8d3d048eae97 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sun, 21 Jun 2026 17:25:23 +0200 Subject: [PATCH] fix(ci): use pull_request_target so claude bot gets secrets on fork PRs --- .github/workflows/claude-bot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude-bot.yml b/.github/workflows/claude-bot.yml index 8d0539121..5f04c56b1 100644 --- a/.github/workflows/claude-bot.yml +++ b/.github/workflows/claude-bot.yml @@ -5,7 +5,7 @@ on: types: [opened] issue_comment: types: [created] - pull_request: + pull_request_target: types: [opened] permissions: @@ -265,7 +265,7 @@ jobs: code, run builds/tests, commit, or open a PR. handle-pr: - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request_target' runs-on: ubuntu-latest permissions: contents: read