summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 8b1def5..98bd35c 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -244,7 +244,7 @@ class Commit < ActiveRecord::Base
end
def skip_ci?
- return if builds.any?
+ return false if builds.any?
commits = push_data[:commits]
commits.present? && commits.last[:message] =~ /(\[ci skip\])/
end