diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-16 09:09:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-16 09:09:12 +0300 |
commit | 8dadd2eab8edd2354272e1d675171a789ad4233f (patch) | |
tree | fe9c325610893f9a26c23e7287a5ddc6041e1683 /app/models | |
parent | cf1d4237a4f226ba2deed26240544da0675a41e5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/ci/pipeline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index bc704457be1..3209e077a08 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -214,7 +214,7 @@ module Ci end end - after_transition created: any - [:failed] do |pipeline| + after_transition created: :pending do |pipeline| next unless pipeline.bridge_triggered? next if pipeline.bridge_waiting? |