Commit eaf71fc9 authored by James Lopez's avatar James Lopez

ignore name validation on importing

parent c61c3a08
...@@ -15,7 +15,7 @@ class CommitStatus < ActiveRecord::Base ...@@ -15,7 +15,7 @@ class CommitStatus < ActiveRecord::Base
validates :pipeline, presence: true, unless: :importing? validates :pipeline, presence: true, unless: :importing?
validates :name, presence: true validates :name, presence: true, unless: :importing?
alias_attribute :author, :user alias_attribute :author, :user
......
Markdown is supported
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