diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/commit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index 1dc095a..c7e2d8b 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -161,6 +161,10 @@ class Commit < ActiveRecord::Base end def status + if skip_ci? || builds.none? + return 'skipped' + end + if yaml_errors.present? return 'failed' end |