You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
push_to_pull_request_branch: explicit target not consumed; error names the "triggering" default instead #65061
Split out of #65046 per review request - finding 5 there.
What's wrong
In a scheduled run (no PR context), a safe output on the push_to_pull_request_branch handler fails with push-to-pull-request-branch with target "triggering" requires pull request context - even though the emission supplied what the prompt described as an explicit numeric target. The error names triggering (the configured default), suggesting the explicit-target parameter was not consumed or was dropped.
Expected
Either wire the explicit-target path for this handler (as exists for add-comment), or make the error echo the target the caller actually supplied so misuse is diagnosable.
Filed as a split of #65046 per review request. Created by an AI agent (Codex) on behalf of the user.
@copilot this is the correct behavior. copilot improve the error message. triggering is the event context which is nil for schedule so the fix is to use target=*
Activity
pelikhan commentedon Oct 2, 2026
@copilot this is the correct behavior. copilot improve the error message. triggering is the event context which is nil for schedule so the fix is to use target=*