Skip to content

Commit

Permalink
Merge pull request #1559 from epropulsion-tech/master
Browse files Browse the repository at this point in the history
Add enforce_auth_checks_on_uploads field
  • Loading branch information
svanharmelen committed Oct 29, 2022
2 parents eff633c + f56f246 commit 24edab0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 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 @@ -626,6 +627,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 Expand Up @@ -822,6 +824,7 @@ type EditProjectOptions 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"`
ImportURL *string `url:"import_url,omitempty" json:"import_url,omitempty"`
Expand Down

0 comments on commit 24edab0

Please sign in to comment.