From 52ea5e9bb8c669ab0305b9344778f80a02c5d896 Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 1 Aug 2026 12:19:20 +0200 Subject: [PATCH] chore: skip Claude PR labeling for bot pull requests (#32372) --- .github/workflows/claude-issue-agent.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/claude-issue-agent.yml b/.github/workflows/claude-issue-agent.yml index 5283ef323..9d2821119 100644 --- a/.github/workflows/claude-issue-agent.yml +++ b/.github/workflows/claude-issue-agent.yml @@ -29,7 +29,9 @@ jobs: pr-label: name: PR labeling - if: github.event_name == 'pull_request_target' + # bot PRs (dependabot etc.) are skipped: the action rejects non-human actors + # unless allowlisted, and bots already label their own PRs + if: github.event_name == 'pull_request_target' && github.event.pull_request.user.type != 'Bot' runs-on: ubuntu-latest permissions: contents: read # read base repo for area classification