@@ -68,6 +68,9 @@ type Organization struct {
6868 // MembersCanForkPrivateRepos toggles whether organization members can fork private organization repositories.
6969 MembersCanForkPrivateRepos * bool `json:"members_can_fork_private_repositories,omitempty"`
7070
71+ // DeployKeysEnabledForRepositories toggles whether deploy keys may be added and used for repositories in the organization.
72+ DeployKeysEnabledForRepositories * bool `json:"deploy_keys_enabled_for_repositories,omitempty"`
73+
7174 // MembersAllowedRepositoryCreationType denotes if organization members can create repositories
7275 // and the type of repositories they can create. Possible values are: "all", "private", or "none".
7376 //
@@ -98,6 +101,10 @@ type Organization struct {
98101 SecretScanningPushProtectionEnabledForNewRepos * bool `json:"secret_scanning_push_protection_enabled_for_new_repositories,omitempty"`
99102 // SecretScanningValidityChecksEnabled toggles whether secret scanning validity check is enabled.
100103 SecretScanningValidityChecksEnabled * bool `json:"secret_scanning_validity_checks_enabled,omitempty"`
104+ // SecretScanningPushProtectionCustomLinkEnabled toggles whether a custom link is shown to contributors blocked by secret scanning push protection.
105+ SecretScanningPushProtectionCustomLinkEnabled * bool `json:"secret_scanning_push_protection_custom_link_enabled,omitempty"`
106+ // SecretScanningPushProtectionCustomLink is the URL displayed to contributors blocked by secret scanning push protection.
107+ SecretScanningPushProtectionCustomLink * string `json:"secret_scanning_push_protection_custom_link,omitempty"`
101108 // MembersCanDeleteRepositories toggles whether members with admin permissions can delete a repository.
102109 MembersCanDeleteRepositories * bool `json:"members_can_delete_repositories,omitempty"`
103110 // MembersCanChangeRepoVisibility toggles whether members with admin permissions can change the visibility for a repository.
0 commit comments