Skip to content
Snippets Groups Projects
Commit a25cd51d authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Commits without builds are marked as skipped

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