MCPcopy Create free account
hub / github.com/github/gh-aw / appendCopilotLSPInstallSteps

Function appendCopilotLSPInstallSteps

pkg/workflow/copilot_engine_installation.go:137–148  ·  view source on GitHub ↗
(steps []GitHubActionStep, workflowData *WorkflowData)

Source from the content-addressed store, hash-verified

135}
136
137func appendCopilotLSPInstallSteps(steps []GitHubActionStep, workflowData *WorkflowData) []GitHubActionStep {
138 if workflowData == nil {
139 return steps
140 }
141 manager := NewLSPManager(workflowData.LSP)
142 lspSteps := manager.GenerateInstallSteps(workflowData)
143 if len(lspSteps) == 0 {
144 return steps
145 }
146 copilotInstallLog.Printf("Adding %d LSP dependency installation step(s)", len(lspSteps))
147 return append(steps, lspSteps...)
148}
149
150func buildCopilotSDKInstallStep(workflowData *WorkflowData) GitHubActionStep {
151 if workflowData == nil || workflowData.EngineConfig == nil || !workflowData.EngineConfig.CopilotSDK {

Callers 1

GetInstallationStepsMethod · 0.85

Calls 3

GenerateInstallStepsMethod · 0.95
NewLSPManagerFunction · 0.85
PrintfMethod · 0.45

Tested by

no test coverage detected