github-java-client
github-java-client copied to clipboard
Add get and list workflow runs from GitHub actions API
Add get and list workflow runs from github actions API
The WorkflowRunsClient provides the following:
- listAllWorkflowRuns - get All workflows for the repo
- listWorkflowRuns - get workflow runs for a given workflow
- getWorkflowRun - get a workflow run by ID
All calls support filtering via query parameters.
Tests included.
I will be adding another PR with the Workflow Jobs from GitHub Actions API
Found a bug caused by a typo as a snapshot of this PR was being used and hence the PR was changed to a draft. This has been fixed and the functionality tested by an external app and therefore I am opening the PR up for review.