Skip to content

What event is triggered for turning a Draft PR into a PR? #23427

Answered by mpboom
Andre601 asked this question in Pull Requests
Discussion options

You must be logged in to vote

Hey @Andre601 ! I think there is a webhook that fires for that:
https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

Check out the action key in the payload, it has support for state changes between draft and non-draft states.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants