diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2019-09-06 11:23:24 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-09-06 11:23:24 +0300 |
commit | 6def5bd66b04f887dd0d24ae4030ec86195ff7cb (patch) | |
tree | ffa78412f4974fe0471e12bb655d3904d87cea73 /lib/gitlab | |
parent | 93f16f3dcd0e6faa9988f1407c14b4b251945c0a (diff) | |
parent | f34e4545ec20953267ee187227116756562c6e8a (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.rb | 6 |
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 |