Commit a25cd51d authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Commits without builds are marked as skipped

parent a5c6bf03
......@@ -161,7 +161,7 @@ class Commit < ActiveRecord::Base
end
def status
if skip_ci?
if skip_ci? || builds.none?
return 'skipped'
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment