Skip to content

Commit

Permalink
Added missing fields
Browse files Browse the repository at this point in the history
  • Loading branch information
svanharmelen committed Oct 29, 2022
1 parent 3140ac4 commit f56f246
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects.go
Expand Up @@ -116,6 +116,7 @@ type Project struct {
AutoCancelPendingPipelines string `json:"auto_cancel_pending_pipelines"`
CIForwardDeploymentEnabled bool `json:"ci_forward_deployment_enabled"`
SquashOption SquashOptionValue `json:"squash_option"`
EnforceAuthChecksOnUploads bool `json:"enforce_auth_checks_on_uploads,omitempty"`
SharedWithGroups []struct {
GroupID int `json:"group_id"`
GroupName string `json:"group_name"`
Expand Down Expand Up @@ -625,6 +626,7 @@ type CreateProjectOptions struct {
DefaultBranch *string `url:"default_branch,omitempty" json:"default_branch,omitempty"`
Description *string `url:"description,omitempty" json:"description,omitempty"`
EmailsDisabled *bool `url:"emails_disabled,omitempty" json:"emails_disabled,omitempty"`
EnforceAuthChecksOnUploads *bool `url:"enforce_auth_checks_on_uploads,omitempty" json:"enforce_auth_checks_on_uploads,omitempty"`
ExternalAuthorizationClassificationLabel *string `url:"external_authorization_classification_label,omitempty" json:"external_authorization_classification_label,omitempty"`
ForkingAccessLevel *AccessControlValue `url:"forking_access_level,omitempty" json:"forking_access_level,omitempty"`
GroupWithProjectTemplatesID *int `url:"group_with_project_templates_id,omitempty" json:"group_with_project_templates_id,omitempty"`
Expand Down

0 comments on commit f56f246

Please sign in to comment.