diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-30 00:09:03 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-30 00:09:03 +0000 |
commit | b72218d98e11514569939cf475d3c626fed445d1 (patch) | |
tree | 8c69b5590ea68963673f2f4d3a886a5095f3b524 /app/services/git | |
parent | ba537a9b5cf97308fd9fe099e0d022a9a76b66ad (diff) | |
download | gitlab-ce-b72218d98e11514569939cf475d3c626fed445d1.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/git')
-rw-r--r-- | app/services/git/branch_push_service.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/services/git/branch_push_service.rb b/app/services/git/branch_push_service.rb index 13223872e4f..3c27ad56ebb 100644 --- a/app/services/git/branch_push_service.rb +++ b/app/services/git/branch_push_service.rb @@ -24,6 +24,7 @@ module Git enqueue_update_mrs enqueue_detect_repository_languages + enqueue_record_project_target_platforms execute_related_hooks @@ -53,6 +54,12 @@ module Git DetectRepositoryLanguagesWorker.perform_async(project.id) end + def enqueue_record_project_target_platforms + return unless default_branch? + + project.enqueue_record_project_target_platforms + end + # Only stop environments if the ref is a branch that is being deleted def stop_environments return unless removing_branch? |