diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-06-12 15:38:09 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-06-12 15:38:09 +0000 |
commit | 6bea29649e1a660a6298f4e304806192544c0ed3 (patch) | |
tree | 2c69c3d3ff93cef432f70630573acf7f95586edb | |
parent | 75a5e6aa32dde7764815d81eca95157804a4e9a0 (diff) | |
parent | eaf71fc963665fa6e65d085026e1122f6dedef75 (diff) | |
download | gitlab-ce-6bea29649e1a660a6298f4e304806192544c0ed3.tar.gz |
Merge branch 'fix/import-commit-status-issue' into 'master'
Ignore commit status name validation on importing
Closes #33490
See merge request !12039
-rw-r--r-- | app/models/commit_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index 36c87eb0d0c..cb425706a9e 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -15,7 +15,7 @@ class CommitStatus < ActiveRecord::Base validates :pipeline, presence: true, unless: :importing? - validates :name, presence: true + validates :name, presence: true, unless: :importing? alias_attribute :author, :user |