The following Copilot organization management endpoints (API version 2026-03-10) are not yet supported by CopilotService:
-
List repositories enabled for Copilot coding agent in an organization
GET /orgs/{org}/copilot/coding_agent/repositories
https://docs.github.com/en/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management?apiVersion=2026-03-10#list-repositories-enabled-for-copilot-coding-agent-in-an-organization
-
Get Copilot content exclusion rules for an organization
GET /orgs/{org}/copilot/content_exclusions
https://docs.github.com/en/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management?apiVersion=2026-03-10#get-copilot-content-exclusion-rules-for-an-organization
Proposed additions to CopilotService (in github/copilot.go)
// ListCodingAgentRepositories lists repositories with Copilot coding agent enabled in an organization.
func (s *CopilotService) ListCodingAgentRepositories(ctx context.Context, org string, opts *ListOptions) ([]*Repository, *Response, error)
// GetOrgContentExclusionRules gets the Copilot content exclusion rules for an organization.
func (s *CopilotService) GetOrgContentExclusionRules(ctx context.Context, org string) (*CopilotContentExclusionRules, *Response, error)
The following Copilot organization management endpoints (API version
2026-03-10) are not yet supported byCopilotService:List repositories enabled for Copilot coding agent in an organization
GET /orgs/{org}/copilot/coding_agent/repositorieshttps://docs.github.com/en/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management?apiVersion=2026-03-10#list-repositories-enabled-for-copilot-coding-agent-in-an-organization
Get Copilot content exclusion rules for an organization
GET /orgs/{org}/copilot/content_exclusionshttps://docs.github.com/en/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management?apiVersion=2026-03-10#get-copilot-content-exclusion-rules-for-an-organization
Proposed additions to
CopilotService(ingithub/copilot.go)