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

Add get and list workflow jobs from GitHub actions API

Open mitulamin opened this issue 1 year ago • 2 comments

Added WorkflowJobsClient

The WorkflowJobsClient provides the following:

  • listWorkflowJobs - get workflow jobs for a given workflow run
  • getWorkflowJob - get a workflow job by ID

listWorkflowJobs support filtering via query parameters.

mitulamin avatar Jan 22 '25 01:01 mitulamin

Please note this was done after PR #204 but they can both be merged independently. The only potential conflict would be the creating of clients under the ActionClient.java.

If #204 is merged in, I am happy to rebase this PR on master again for a cleaner fast-forward.

mitulamin avatar Jan 22 '25 01:01 mitulamin

Changed this PR to a draft as I will rebase and merge it after the runs PR #204 is merged in so I can resolve the expected conflict.

mitulamin avatar Jan 22 '25 13:01 mitulamin