Document pull_request state transitions in schema#6316
Merged
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add documentation for draft and ready_for_review state conflict
Document pull_request state transitions in schema
Dec 13, 2025
pelikhan
approved these changes
Dec 13, 2025
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.
The
converted_to_draftandready_for_reviewpull request event types represent state transitions, not states. Users may inadvertently listen for both without understanding their opposite nature.Changes
pull_request.typesdescription to clarify these are state transitions rather than states$commentdocumenting the logical conflict between the two event typesThis follows existing schema patterns for documenting mutually exclusive options (see
branches/branches-ignore).Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login eutil.test GO111MODULE ortcfg.link GOINSECURE GOMOD GOMODCACHE 8_NJKpgYiLwRNKaQea/mARpsQ65GVtlHgf8IblM/b0xRmyctrefs/tags/v0.20.10 env it/ref/tags/v5 GO111MODULE g_.a GOINSECURE GOMOD GOMODCACHE ache/go/1.25.0/x64/pkg/tool/linu--prefix=/net/ipv6/conf/veth981939b(http block)/usr/bin/gh gh api user --jq .login(http block)/usr/bin/gh gh api user --jq .login est" GO111MODULE 504e4a92b5432bc3a4dacce25ca693d828b/log.json GOINSECURE GOMOD GOMODCACHE go env oad-artifact.git GO111MODULE 0439227/b361/vet.cfg GOINSECURE GOMOD GOMODCACHE go(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.