Set deploy status on pull request #1061
privatenumber
started this conversation in
Ideas
Replies: 1 comment
-
I like the idea of this. Would this be something you're willing to open a PR for? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using this action on a PR hook, I would like for it to update the banner in the PR to say that it has been deployed.
Currently, it says "This branch has not been deployed":

Seems like the deploy status can be set by sending a deployment event:
https://docs.github.com/en/rest/reference/repos#deployments
For reference, nwtgck/actions-netlify does this:
https://github.com/nwtgck/actions-netlify/blob/bda6b2e6da6fdf666e0accd8873922698c37974d/src/main.ts#L42
Beta Was this translation helpful? Give feedback.
All reactions