From 961f87ca98af79eb820e1c88808b8b6141c0785e Mon Sep 17 00:00:00 2001 From: Heidi Berry Date: Sat, 4 May 2024 17:45:21 +0100 Subject: [PATCH] Add support for all_pipeline_trigger_approve_deployment in EditProject API --- projects.go | 1 + 1 file changed, 1 insertion(+) diff --git a/projects.go b/projects.go index ef51ffa13..9add5dd6f 100644 --- a/projects.go +++ b/projects.go @@ -830,6 +830,7 @@ func (s *ProjectsService) CreateProjectForUser(user int, opt *CreateProjectForUs // GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#edit-project type EditProjectOptions struct { AllowMergeOnSkippedPipeline *bool `url:"allow_merge_on_skipped_pipeline,omitempty" json:"allow_merge_on_skipped_pipeline,omitempty"` + AllowPipelineTriggerApproveDeployment *bool `url:"allow_pipeline_trigger_approve_deployment,omitempty" json:"allow_pipeline_trigger_approve_deployment,omitempty"` OnlyAllowMergeIfAllStatusChecksPassed *bool `url:"only_allow_merge_if_all_status_checks_passed,omitempty" json:"only_allow_merge_if_all_status_checks_passed,omitempty"` AnalyticsAccessLevel *AccessControlValue `url:"analytics_access_level,omitempty" json:"analytics_access_level,omitempty"` ApprovalsBeforeMerge *int `url:"approvals_before_merge,omitempty" json:"approvals_before_merge,omitempty"`