Feat/add workflow sys params (#9108)

Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
Joe
2024-10-10 11:15:52 +08:00
committed by GitHub
parent 62051d5171
commit e947103b6d
12 changed files with 74 additions and 3 deletions

View File

@@ -116,6 +116,19 @@ const formatItem = (
variable: 'sys.files',
type: VarType.arrayFile,
})
res.vars.push({
variable: 'sys.app_id',
type: VarType.string,
})
res.vars.push({
variable: 'sys.workflow_id',
type: VarType.string,
})
res.vars.push({
variable: 'sys.workflow_run_id',
type: VarType.string,
})
break
}