diff options
author | Shinya Maeda <shinya@gitlab.com> | 2019-02-25 20:05:26 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2019-03-01 22:52:38 +0900 |
commit | f62dc67d262792829bdcaef779b3915e9cc93a4f (patch) | |
tree | f9419e96914addb59dfa4ab653c9c6151b33e4e2 /app/presenters/ci | |
parent | dc5fc28382246fbbe2bb6f61fe8dac136b5f3189 (diff) | |
download | gitlab-ce-f62dc67d262792829bdcaef779b3915e9cc93a4f.tar.gz |
Add suffix for merge request event
Fix
ok
Add spec
Fix
ok
Fix
Add changelog
Fix
Add memoization
a
fix
Diffstat (limited to 'app/presenters/ci')
-rw-r--r-- | app/presenters/ci/build_runner_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/ci/build_runner_presenter.rb b/app/presenters/ci/build_runner_presenter.rb index d60281c8a0b..29656b17183 100644 --- a/app/presenters/ci/build_runner_presenter.rb +++ b/app/presenters/ci/build_runner_presenter.rb @@ -35,7 +35,7 @@ module Ci specs = [] if git_depth > 0 - specs << refspec_for_branch(ref) if branch? || merge_request? + specs << refspec_for_branch(ref) if branch? || merge_request_event? specs << refspec_for_tag(ref) if tag? else specs << refspec_for_branch |