Repository navigation
ci: gate E2E handoff on copilot/ branch instead of PR author - #2308
Merged
Merged
Conversation
Cloud agent sessions now commit and open their PR as the triggering user, so the user.login == 'Copilot' gate silently disabled the Ready transition and E2E provisioning. Key the handoff on the same-repository copilot/ branch plus the pull_request_target event, and verify the latest agent session for every copilot/ handoff instead of only bot-authored PRs.
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.
What Changed
provision-e2eand "Mark successful PR ready" no longer requirepull_request_targetPR authorCopilot; they gate on same-repositorycopilot/branches plus the handoff event.copilot/branch instead of only bot-authored PRs.Why Changed
GitHub's cloud agent runtime now commits and opens its PR as the triggering user (observed 2026-11-17: commit author
chendelin1982, PR authorchendelin1982, noassigned Copilot, no completion-timereview_requested). The author gate therefore never matched, so draft PRs stayed draft and E2E provisioning plus the WeCom server notification were skipped for PRs #2295-#2307.Automated Validation
pytest tests/build tests/skills: 283 passed.copilot/branch handoff.Risk
Cost control still relies on the same-repository
copilot/branch prefix plus an explicitreview_requestedhandoff; nothing provisions from ordinary pushes or human drafts.