0

I am currently using the PyGithub library in order to use GitHub's API to collect all previous workflow runs for a single repo. I have been able to collect all of the workflow runs I want but I can't seem to find any information (within PyGithub's docs) regarding getting the inputs from those previous workflow runs.

As of right now I'm at the point where I just have the workflow or workflow run available to me and I am not fully certain how to progress. Workflow Run Workflow

Please let me know if there is more information needed. Thanks!

  • it looks like https://pygithub.readthedocs.io/en/latest/github_objects/Workflow.html#github.Workflow.Workflow.get_runs returns a paginated list of workflow runs which you'd need to loop through. I don't see in the Github API docs anything relating to inputs, so you might be out of luck (if The API doesn't support it, PyGitHub cannot do it) https://docs.github.com/en/rest/actions/workflow-runs#get-a-workflow-run – Leslie Alldridge Nov 19 '22 at 23:03

0 Answers0