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

A Java client to Github API

Results 33 github-java-client issues
Sort by recently updated
recently updated
newest added

feat: Add OpenTelemetry Support feat: Add Support for Tracing Propagation Headers

Hi @Abhi347! Here is a small PR which adds get and list workflows from Github Actions API: - List Workflows: https://docs.github.com/en/rest/actions/workflows#list-repository-workflows - Get Workflow: https://docs.github.com/en/rest/actions/workflows#get-a-workflow Added tests as well for...

While trying the api, I found the documentation to contain errors regarding the create method of the GithubClient. I hope this small edit would help others to avoid the similar...

The documentation requires a slight updation. Here we need to pass a URI in the second parameter of the method . final GitHubClient githubClient = GitHubClient.create( URI.create("https://api.github.com/"), new File("/path-to-the/private-key.pem"), //...

The Maven SCM publish plugin uses SSH instead of PAT

Immutables were introduced in this library when Java Records were not available or popular. Most of the GH models in the library can be converted to use Records. ## Advantages...

enhancement

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...

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...

Make it easier for parsing github events from request header

to fix ``` java.util.concurrent.CompletionException: com.spotify.github.v3.exceptions.RequestNotOkException: PATCH /repos///git/refs/main 422: {"message":"Invalid request.\n\nFor 'properties/force', \"false\" is not a boolean.","documentation_url":"https://docs.github.com/rest/git/refs#update-a-reference","status":"422"} at java.base/java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:368) ~[na:na] at java.base/java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:377) ~[na:na] at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1152) ~[na:na] at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[na:na] at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179)...