PyGithub icon indicating copy to clipboard operation
PyGithub copied to clipboard

Add support for Review pending deployments for a workflow run

Open mavaras opened this issue 2 years ago • 3 comments

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.

[1] Review pending deployments for a workflow run

mavaras avatar Nov 02 '23 15:11 mavaras

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 avatar Nov 21 '23 06:11 clowtown

@clowtown Was this ever implemented? I can't find it in the code.

RobKelley06 avatar Mar 06 '24 15:03 RobKelley06