Fix /models/ci/pipeline.rb
This commit is contained in:
parent
f7da15bae3
commit
4b8c52f2fc
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue