Feature Request: Rest API support for approving deployments #18088
-
Please add support in the Rest API for approving deployments. This would allow to automate deployments from the CLI for quicker approvals as part of day-to-day administration, and is necessary for the GitHub CLI to support this too: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It almost looks like you could do this from this documentation: https://docs.github.com/en/rest/deployments/statuses#create-a-deployment-status I tried POST to |
Beta Was this translation helpful? Give feedback.
-
It looks like this is supported in the API now: https://docs.github.com/en/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run |
Beta Was this translation helpful? Give feedback.
It looks like this is supported in the API now:
https://docs.github.com/en/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run