Commit 6bea2964 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'fix/import-commit-status-issue' into 'master'

Ignore commit status name validation on importing

Closes #33490

See merge request !12039
parents 75a5e6aa eaf71fc9
......@@ -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
......
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