Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gems/gitlab-housekeeper/lib/gitlab/housekeeper/gitlab_client.rb')
-rw-r--r--gems/gitlab-housekeeper/lib/gitlab/housekeeper/gitlab_client.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/gems/gitlab-housekeeper/lib/gitlab/housekeeper/gitlab_client.rb b/gems/gitlab-housekeeper/lib/gitlab/housekeeper/gitlab_client.rb
index d2bb5065824..697ab9043ef 100644
--- a/gems/gitlab-housekeeper/lib/gitlab/housekeeper/gitlab_client.rb
+++ b/gems/gitlab-housekeeper/lib/gitlab/housekeeper/gitlab_client.rb
@@ -206,7 +206,8 @@ module Gitlab
labels: Array(labels).join(','),
source_branch: source_branch,
target_branch: target_branch,
- target_project_id: target_project_id
+ target_project_id: target_project_id,
+ remove_source_branch: true
}.to_json,
headers: {
'Private-Token' => @token,