Skip to content

GetDefaultCodeSecurityConfigurations returns []*CodeSecurityConfiguration but should return []*CodeSecurityConfigurationWithDefaultForNewRepos #3744

@ericmort

Description

@ericmort

The return type of GetDefaultCodeSecurityConfigurations should return []*CodeSecurityConfigurationWithDefaultForNewRepos to align with the API response schema: https://docs.github.com/en/rest/code-security/configurations?apiVersion=2022-11-28#get-default-code-security-configurations

I can create a PR for this if you agree with the problem, this would also be a breaking change I guess.

Metadata

Metadata

Assignees

Labels

Breaking API ChangePR will require a bump to the major version num in next release. Look here to see the change(s).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions