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

Go library for accessing the GitHub v3 API

Results 139 go-github issues
Sort by recently updated
recently updated
newest added

In the current implementation, the client allows you to request a Custom Repository Role for an Organization without specifying the required keys. [CreateCustomRepoRole](https://github.com/google/go-github/blob/master/github/orgs_custom_roles.go#L96) use as argument `opts *CreateOrUpdateCustomRoleOptions` which has...

GitHub recently added full support for merge queue configurations in REST API for organization and repository ruleset organization: https://docs.github.com/en/rest/orgs/rules?apiVersion=2022-11-28#create-an-organization-repository-ruleset repository: https://docs.github.com/en/rest/orgs/rules?apiVersion=2022-11-28#create-an-organization-repository-ruleset Example Screenshot from GitHub's API doc ![image](https://github.com/user-attachments/assets/6bbe1dd4-8246-48f8-aea4-bf9bbb2f6201) merge queue...

A library this repository suggests for secondary rate limits https://github.com/gofri/go-github-ratelimit already has a similar concept `WithLimitDetectedCallback(callback)`. There is no easy way right now to handle sleeps i.e. log a message...

client := github.NewClient(nil).WithAuthToken(e.getGithubToken()) ctx, cancelFunc := context.WithTimeout(context.Background(), 5*time.Second) defer cancelFunc() repo, _, err := client.Repositories.Get(ctx, "google/go-github", "commits") if err != nil { log.Fatal(err) } fmt.Println(repo) 2024/07/24 14:54:44 json: cannot unmarshal...

waiting for reply
WaitingForInfo

https://github.blog/changelog/2024-07-17-code-security-configurations-api-now-includes-validity-checks-enforcement-and-removal/ The blog describes added support for three new API endpoints: [/orgs/{org}/code-security/configurations/detach](https://docs.github.com/en/rest/code-security/configurations?apiVersion=2022-11-28#detach-configurations-from-repositories) [/orgs/{org}/code-security/configurations ](https://docs.github.com/en/rest/code-security/configurations?apiVersion=2022-11-28#create-a-code-security-configuration) [/orgs/{org}/code-security/configurations/{configuration_id}](https://docs.github.com/en/rest/code-security/configurations?apiVersion=2022-11-28#detach-configurations-from-repositories) I can work on this task if we are interested in implementing these endpoints to...

When there is a webhook event for `custom_property_values` the pkg will return `unknown X-Github-Event in message: custom_property_values` I think adding this for support will be simple

Unable to filter artifacts by name in golang when listing them using the package: github.com/google/go-github/v43/github The github.Client ->Actions.ListArtifacts() only has ListOptions to support pagination. There is no reference to filter...

Fixes: #3328. BREAKING CHANGE: `opts` argument to `ActionsService.ListArtifacts` changed from `ListOptions` to `ListArtifactsOptions`.

What: Adds `type EventType string` and an `EventType` const for every of the types in the maps in `github/messages.go` Why: So that we can do switches like ```go switch eventType...

waiting for reply
NeedsReview