Skip to content

Commit

Permalink
Merge pull request #1590 from timofurrer/patch-1
Browse files Browse the repository at this point in the history
Add missing mr_default_target_self edit project attribute
  • Loading branch information
svanharmelen committed Dec 3, 2022
2 parents da1f1e5 + d3d01ee commit 1f30a79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ type Project struct {
ExternalAuthorizationClassificationLabel string `json:"external_authorization_classification_label"`
RequirementsAccessLevel AccessControlValue `json:"requirements_access_level"`
SecurityAndComplianceAccessLevel AccessControlValue `json:"security_and_compliance_access_level"`
MergeRequestDefaultTargetSelf bool `json:"mr_default_target_self"`

// Deprecated members
PublicBuilds bool `json:"public_builds"`
Expand Down Expand Up @@ -843,6 +844,7 @@ type EditProjectOptions struct {
KeepLatestArtifact *bool `url:"keep_latest_artifact,omitempty" json:"keep_latest_artifact,omitempty"`
LFSEnabled *bool `url:"lfs_enabled,omitempty" json:"lfs_enabled,omitempty"`
MergeCommitTemplate *string `url:"merge_commit_template,omitempty" json:"merge_commit_template,omitempty"`
MergeRequestDefaultTargetSelf *bool `url:"mr_default_target_self,omitempty" json:"mr_default_target_self,omitempty"`
MergeMethod *MergeMethodValue `url:"merge_method,omitempty" json:"merge_method,omitempty"`
MergePipelinesEnabled *bool `url:"merge_pipelines_enabled,omitempty" json:"merge_pipelines_enabled,omitempty"`
MergeRequestsAccessLevel *AccessControlValue `url:"merge_requests_access_level,omitempty" json:"merge_requests_access_level,omitempty"`
Expand Down

0 comments on commit 1f30a79

Please sign in to comment.