diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-16 14:02:04 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-16 14:07:14 +0200 |
commit | 3a94919e83f1e5b359f6772762392eeda2d7134d (patch) | |
tree | abdb2bb250a264bd9d59d7e5147256e63f06f131 /app/models | |
parent | a78b1b27b86d34c00e1b0631e967d637f8a6714b (diff) | |
download | gitlab-ce-3a94919e83f1e5b359f6772762392eeda2d7134d.tar.gz |
Do not allow to trigger manual actions that were skipped
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/ci/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 61c10c427dd..d9649e30edc 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -184,7 +184,7 @@ module Ci end def playable? - action? && (manual? || complete?) + action? && (manual? || retryable?) end def action? |