Add support for Review pending deployments for a workflow run
Hi everyone.
I see PyGithub does not have support for calling this API endpoint [1] to approve/reject a manual job execution in a workflow run. Would it be possible to include this functionality in WorkflowRun class or anywhere else? Or maybe I'm a bit wrong and PyGithub indeed allows to do this process.
Basically what I want to do is to trigger a job which is waiting for manual review in a workflow run pipeline.
Thanks in advance.
I have a local contribution to submit for fetching the pending deployments, but I totally overlooked the body arguments for approving/rejecting. I will try to get my PR raised in the next week as a start. My need to was to be aware, not to approve/revoke.
@clowtown Was this ever implemented? I can't find it in the code.