go-github
go-github copied to clipboard
Go library for accessing the GitHub v3 API
**IMPORTANT** This requires that this repo's permissions allows GitHub Actions to create PRs. See [instructions](https://github.com/peter-evans/create-pull-request/blob/153407881ec5c347639a548ade7d8ad1d6740e38/README.md#workflow-permissions). This adds a GitHub Actions Workflow to create a PR when go-github's generated files are...
There appears to be a new event type, the `SponsorshipEvent` as defined by the GitHub docs: https://docs.github.com/en/rest/overview/github-event-types?apiVersion=2022-11-28#sponsorshipevent This doesn't seem to be implemented: ``` undefined: github.SponsorshipEvent ``` and I don't...
Starts Dependency Graph service support by starting with the [Create Snapshot](https://docs.github.com/en/rest/dependency-graph/dependency-submission?apiVersion=2022-11-28#create-a-snapshot-of-dependencies-for-a-repository) endpoint
we are collecting the check runs for each PR, by using next API: client.Checks.ListCheckRunsForRef and ref as PR. is it possible to collect check runs configuration? For example: is it...
Contributing to and maintaining this repo could be helped by a metadata file for all of the endpoints go-github supports. It would map to [GitHub's OpenAPI descriptions](https://github.com/github/rest-api-description). In this proposal...
The documentation for required_workflows endpoints has disappeared from the docs site (formerly seen at https://docs.github.com/en/rest/actions/required-workflows). I found a note on https://docs.github.com/en/actions/using-workflows/required-workflows that says: > Note: Required workflows for GitHub Actions...
I suspect that `NewClientWithEnvProxy` is redundant with `NewClient(nil)`. The reason I think this is `NewClient(nil)` uses returns a `Client` with an empty `http.Client`. `http.Client` with no transport uses `http.DefaultTransport`, and...
Hello I am using `"github.com/google/go-github/v54/github"` to search codes in my org. While I do search for "org: XX path:**/*.yaml" in github UI it works but while using the below it...
Hi, I have a problem to updating existing file in repository. I've created a function to obtain the last SHA from the file that I want to update: ``` func...