github-java-client icon indicating copy to clipboard operation
github-java-client copied to clipboard

Add get and list workflow runs from GitHub actions API

Open mitulamin opened this issue 1 year ago • 2 comments

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.

mitulamin avatar Jan 22 '25 00:01 mitulamin

I will be adding another PR with the Workflow Jobs from GitHub Actions API

mitulamin avatar Jan 22 '25 00:01 mitulamin

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.

mitulamin avatar Jan 22 '25 13:01 mitulamin