Get corresponding PR from Github deployment status webhook #2016
Unanswered
joostmeijles
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I think that |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am creating a Github app that listens for deployment_status.created webhook events. The webhook is triggered when a PR is automatically deployed (using a 3rd party Github app).
When the deployment has a certain state, e.g. success, I want to add a comment to the corresponding PR.
My example code:
How do I get the corresponding PR?
NB. There seems to be nothing in the payload for it (https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#deployment_status)
Beta Was this translation helpful? Give feedback.
All reactions