mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
fixed action节点增加类型和链接控制
This commit is contained in:
@@ -42,7 +42,7 @@ class Action::Node < ApplicationRecord
|
|||||||
validates :description, length: { maximum: 65535, too_long: "不能超过65535个字符"}
|
validates :description, length: { maximum: 65535, too_long: "不能超过65535个字符"}
|
||||||
|
|
||||||
# type 0: 触发器 1: 任务作业, 2: 步骤
|
# type 0: 触发器 1: 任务作业, 2: 步骤
|
||||||
enum type: {trigger: 0, job: 1, step: 2}
|
enum type: {start: 0, job: 1, step: 2}
|
||||||
|
|
||||||
|
|
||||||
def content_yaml
|
def content_yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user