github-api icon indicating copy to clipboard operation
github-api copied to clipboard

Java API for GitHub

Results 268 github-api issues
Sort by recently updated
recently updated
newest added

GitHub REST API is now versioned. https://docs.github.com/en/rest/overview/api-versions?apiVersion=2022-11-28 I've already filed another issue around supporting different versions of GitHub Server. This is related.

new feature

It's very common to have links to external issue trackers and those can be easily integrated with the autolink feature. Currently there is no programming interface to access this feature...

enhancement
good first issue

I'm looking into a programatically way to sync a fork using GitHub Java API. Is this supported? * Instructions for CLI: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork * Instructions for REST: https://docs.github.com/en/rest/branches/branches?apiVersion=2022-11-28#sync-a-fork-branch-with-the-upstream-repository I'm using GitHub...

enhancement
good first issue

# Description This is the proposed enhancement I mentioned in #1583. If this is desired, I will add tests and otherwise fully bake the PR. # Before submitting a PR:...

**Describe the bug** GHInvitation getId returns 'id' from GHObject, which defaults to 0. However, the correct invitation id is available in the private 'id' field on GHInvitation. **To Reproduce** 1....

bug

Im trying to use GHContent.read() to get a jar and open it as ZIP from a repository, but it gives that error with some jars. Does not happen with all...

bug
more information needed

**Describe the bug** I noticed that search in repositories is unreliable sometimes and could fail with `URISyntaxException`. Example: ``` Exception in thread "main" org.kohsuke.github.HttpException: Server returned HTTP response code: -1,...

bug

Question: Does this library support GitHb EMU?

new feature
more information needed

When looking at `GHWorkflowRun`, there is the method `rerun()` but no method to rerun only failed tests. It's documented in the API here: https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28#re-run-failed-jobs-from-a-workflow-run This has been added to the...

enhancement

Self-hosted GitHub Enterprise supports configuring pre-receive hooks at the [organization](https://docs.github.com/en/[email protected]/rest/enterprise-admin/org-pre-receive-hooks) and [repository](https://docs.github.com/en/[email protected]/rest/enterprise-admin/repo-pre-receive-hooks). I would like github-api to support configuring these hooks. I needed to configure pre-receive hooks on several GHE...

new feature