diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-07-30 14:07:23 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-08-05 11:38:33 +0200 |
commit | a25cd51d33cf26059c9938d2be261f40f80c180b (patch) | |
tree | 3781d2674062557423654146d4b8a0183d991ee6 /app/models | |
parent | a5c6bf0317d69d5e385ac1afd72f6c294bc7a004 (diff) | |
download | gitlab-ci-a25cd51d33cf26059c9938d2be261f40f80c180b.tar.gz |
Commits without builds are marked as skipped
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/commit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |