From a25cd51d33cf26059c9938d2be261f40f80c180b Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Thu, 30 Jul 2015 14:07:23 +0200 Subject: Commits without builds are marked as skipped --- app/models/commit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/commit.rb') diff --git a/app/models/commit.rb b/app/models/commit.rb index af03253..8359bd2 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -161,7 +161,7 @@ class Commit < ActiveRecord::Base end def status - if skip_ci? + if skip_ci? || builds.none? return 'skipped' end -- cgit v1.2.1