diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2019-09-06 10:14:30 +0300 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2019-09-06 10:14:30 +0300 |
commit | f34e4545ec20953267ee187227116756562c6e8a (patch) | |
tree | 32326de09418e404ac74b2b05398bd5449ba8b6c /lib/gitlab | |
parent | 351d72cbed57c5b117e6b2239dffabcedbc45046 (diff) |
Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'"
This reverts merge request !32196
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 |