Browse Source

fixed pipeline_name

pull/347/head
xxq250 1 year ago
parent
commit
1de6cc4e45
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/action/pipeline.rb

+ 1
- 1
app/models/action/pipeline.rb View File

@@ -33,7 +33,7 @@ class Action::Pipeline < ApplicationRecord
belongs_to :user, optional: true
belongs_to :project

validates :name, presence: { message: "不能为空" }
validates :pipeline_name, presence: { message: "不能为空" }
validates :json, length: { maximum: 65535, too_long: "不能超过65535个字符"}
validates :yaml, length: { maximum: 65535, too_long: "不能超过65535个字符"}
end

Loading…
Cancel
Save