chore: skip Claude PR labeling for bot pull requests (#32372)
This commit is contained in:
parent
41cb4d04b1
commit
52ea5e9bb8
1 changed files with 3 additions and 1 deletions
4
.github/workflows/claude-issue-agent.yml
vendored
4
.github/workflows/claude-issue-agent.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue