diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-25 13:43:27 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-25 13:43:27 +0300 |
commit | 887818d3cb58406555bc038ed36b75b7a4ce2631 (patch) | |
tree | f00113eb6148c287dbba868348efc1a4b03394e9 /app/models/ci | |
parent | 0e1b3dc41b61c8d9f6a1432c4f823253cbeb5c4d (diff) |
Do not update stage status when it is just created
Diffstat (limited to 'app/models/ci')
-rw-r--r-- | app/models/ci/stage.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/ci/stage.rb b/app/models/ci/stage.rb index 0044d1af106..abf73c00539 100644 --- a/app/models/ci/stage.rb +++ b/app/models/ci/stage.rb @@ -74,8 +74,7 @@ module Ci when 'failed' then drop when 'canceled' then cancel when 'manual' then block - when 'skipped' then skip - else skip + when 'skipped', nil then skip end end end |