fix(forgerpc): forge calls need the run credential and reach only the run's own repository
This commit is contained in:
1 parent
78e4427f0d
commit
18b9dddbaf
7 files changed
+160
-49
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user