fix(workflow): require confirmation and honor dry-run for node grants

This commit is contained in:
gitea committed 2026-10-20 17:50:45 +08:00
1 parent fac81b08e8
commit 0e6090a92c
5 files changed
+242 -214

No files matched your search

+2 -2
View File
@@ -147,7 +147,7 @@ describe("CLI - workflow nodes 字典探针与灰度开通测试", () => {
area: "workflow",
action: "nodes",
args: ["grant", "code-js2"],
options: {},
options: { yes: true },
raw: ["workflow", "nodes", "grant", "code-js2"],
},
mockRuntime
@@ -180,7 +180,7 @@ describe("CLI - workflow nodes 字典探针与灰度开通测试", () => {
area: "workflow",
action: "nodes",
args: ["grant", "JS节点(新)"],
options: {},
options: { yes: true },
raw: ["workflow", "nodes", "grant", "JS节点(新)"],
},
mockRuntime