Fix /models/ci/pipeline.rb

This commit is contained in:
Shinya Maeda 2017-09-06 23:19:23 +09:00
parent f7da15bae3
commit 4b8c52f2fc

View file

@ -38,7 +38,7 @@ module Ci
validates :status, presence: { unless: :importing? }
validate :valid_commit_sha, unless: :importing?
# before_save :set_protected
before_save :set_protected
after_create :keep_around_commits, unless: :importing?
enum source: {