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:
authorLin Jen-Shin <godfat@godfat.org>2019-09-06 11:23:24 +0300
committerLin Jen-Shin <godfat@godfat.org>2019-09-06 11:23:24 +0300
commit6def5bd66b04f887dd0d24ae4030ec86195ff7cb (patch)
treeffa78412f4974fe0471e12bb655d3904d87cea73 /lib/gitlab
parent93f16f3dcd0e6faa9988f1407c14b4b251945c0a (diff)
parentf34e4545ec20953267ee187227116756562c6e8a (diff)
Merge branch 'revert-351d72cb' into 'master'
Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'" See merge request gitlab-org/gitlab-ce!32741
Diffstat (limited to 'lib/gitlab')
-rw-r--r--lib/gitlab/danger/helper.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gitlab/danger/helper.rb b/lib/gitlab/danger/helper.rb
index 702c73e8e4d..17ad07bfc0c 100644
--- a/lib/gitlab/danger/helper.rb
+++ b/lib/gitlab/danger/helper.rb
@@ -38,12 +38,8 @@ module Gitlab
ENV['CI_PROJECT_NAME'] == 'gitlab-ee' || File.exist?('../../CHANGELOG-EE.md')
end
- def gitlab_helper
- gitlab if respond_to?(:gitlab)
- end
-
def release_automation?
- gitlab_helper&.mr_author == RELEASE_TOOLS_BOT
+ gitlab.mr_author == RELEASE_TOOLS_BOT
end
def project_name