fix(forgerpc): forge calls need the run credential and reach only the run's own repository

This commit is contained in:
sam committed 2026-10-04 18:34:16 +11:00
1 parent 78e4427f0d
commit 18b9dddbaf
7 files changed
+160 -49

No files matched your search

+1 -1
View File
@@ -1648,7 +1648,7 @@ func (d *Daemon) runViaAgent(ctx context.Context, task *workflow.Task, repo conf
Cfg: taskCfg,
Providers: agentexec.ProvidersFromConfig(cfg.Providers),
MCPServers: cfg.Tools.MCPServers,
WorktreeGrant: credential,
RunCredential: credential,
KindWorkflows: d.KindWorkflows,
LabelWorkflows: d.LabelWorkflows,
WorkflowDefinition: task.WorkflowDefinitionYAML,