Probe: capture copilot-review event payload#1593
Closed
brendancol wants to merge 1 commit into
Closed
Conversation
Adds a top-of-file comment so this PR touches the workflow and triggers the unconditional debug-event job. Revert after reading the logs.
3 tasks
Contributor
Author
|
Superseded by #1594 — debug output captured ( |
brendancol
added a commit
that referenced
this pull request
May 11, 2026
The pull_request_target event payload reports author_association as CONTRIBUTOR for org members on same-repo branches (confirmed via the debug-event job added in #1592 and fired by #1593), so the previous gate filtered out every maintainer PR. Switch to head.repo.full_name == base.repo.full_name. Same-repo PRs require push access to the base repo, which is the maintainer signal we actually want. Fork PRs (where the maintainer cannot push to base) remain excluded. Also removes the now-unneeded debug-event job.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
copilot-reviewworkflow so the unconditionaldebug-eventjob (landed in Debug: print copilot-review gate inputs #1592) prints the event payload values for this PR.Test plan
debug-eventjob logs and record the printedassocvalueif:gate in a follow-up, then revert this PR and remove the debug job