-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
go-github/github/repos_actions_permissions.go
Lines 34 to 39 in 06b8b3a
// GetActionsPermissions gets the GitHub Actions permissions policy for repositories and allowed actions in a repository. | |
// | |
// GitHub API docs: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository | |
// | |
//meta:operation GET /repos/{owner}/{repo}/actions/permissions | |
func (s *RepositoriesService) GetActionsPermissions(ctx context.Context, owner, repo string) (*ActionsPermissionsRepository, *Response, error) { |
Methods in this file belong to ActionsService
but wrongly separated to RepositoriesService
.
Also:
go-github/github/enterprise_actions_hosted_runners.go
Lines 13 to 18 in 06b8b3a
// ListHostedRunners lists all the GitHub-hosted runners for an enterprise. | |
// | |
// GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-github-hosted-runners-for-an-enterprise | |
// | |
//meta:operation GET /enterprises/{enterprise}/actions/hosted-runners | |
func (s *EnterpriseService) ListHostedRunners(ctx context.Context, enterprise string, opts *ListOptions) (*HostedRunners, *Response, error) { |
and so on.
I'd like to create a pr to fix it, but it will introduce breaking API changes. Is that OK?
Metadata
Metadata
Assignees
Labels
No labels