github-api
github-api copied to clipboard
Java API for GitHub
The following method is not `null` safe: https://github.com/hub4j/github-api/blob/055638069ce8299629225be7f39395b16d4fe839/src/main/java/org/kohsuke/github/GHMilestone.java#L137-L138 Whenever it is called to get the state of the milestone, and it (`state` field) is `null`, it will throw a `NullPointerException`....
https://github.com/hub4j/github-api/blob/e14ec3b3677760714cd096ad8157a3e6a6dded65/src/main/java/org/kohsuke/github/GHIssueStateReason.java https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#update-an-issue > state_reason string or null > Can be one of: completed, not_planned, reopened, null `reopened` is supported and should be added.
**Describe the bug** I receive an NPE on `GHCommitPointer#getCommit` because `getRepository()` returns `null`. I assume `getRepository()` should always be populated as I need a `GHRepository` to even get the initial...
1) `GHPullRequestQueryBuilder` doesn't seem to support `pageSize(int)` but `GHIssueQueryBuilder` does. I don't know if there is a technical reason, but it would help to support repos with a large number...
Hi, As it stands the api offers, restrictions for users, teams, but app slugs cannot be added to the definition. Would it be possible to add this? I checked and...
**Describe the bug** A clear and concise description of what the bug is. When calling the GitHub API to get a [list of repositories](https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-organization-repositories) the `template_repository` field is not included...
(Maintainer's note: see also #1975 ) **Describe the bug** #1895 attempted to detect more errors related to secondary rate limits, but it seems there are more. It appears GitHub APIs...
It seems that `GHPullRequestReviewComment` should extend `GHIssueComment`, the same way `GHPullRequest` extends `GHIssue`.
**Describe the bug** I have a runner and which was retried 5 times and each runner has almost 25 jobs so when i use repository.getWorkflowRun(runnerId/workflow_id), it is returning the ghWorkFlowRunner...
# Description # Before submitting a PR: - [ ] Changes must not break binary backwards compatibility. If you are unclear on how to make the change you think is...