File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,8 +56,6 @@ concurrency:
5656on : # zizmor: ignore[dangerous-triggers] -- never runs untrusted code, only reads it.
5757 pull_request_target :
5858 types : [opened, synchronize, reopened]
59- branches-ignore :
60- - renovate/**
6159 issue_comment :
6260 types : [created]
6361
7472 # suppresses events from bot-posted comments, but a PAT/App token would not.
7573 # issue_comment triggers are further gated on author_association so only
7674 # MEMBER/OWNER/COLLABORATOR users can spend LLM quota via re-review.
75+ # Renovate PRs are excluded here rather than with branches-ignore on the
76+ # trigger: pull_request_target branch filters match the PR's base branch
77+ # (which renovate PRs always target, main), so they can never exclude the
78+ # renovate/* head branch.
7779 if : |
78- github.event_name == 'pull_request_target'
80+ (
81+ github.event_name == 'pull_request_target'
82+ && !startsWith(github.head_ref, 'renovate/')
83+ )
7984 || (
8085 github.event_name == 'issue_comment'
8186 && github.event.issue.pull_request
You can’t perform that action at this time.
0 commit comments