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

Function upgradeCopilotSetupSteps

pkg/cli/copilot_setup.go:166–168  ·  view source on GitHub ↗

upgradeCopilotSetupSteps upgrades the version in existing copilot-setup-steps.yml

(ctx context.Context, verbose bool, actionMode workflow.ActionMode, version string)

Source from the content-addressed store, hash-verified

164
165// upgradeCopilotSetupSteps upgrades the version in existing copilot-setup-steps.yml
166func upgradeCopilotSetupSteps(ctx context.Context, verbose bool, actionMode workflow.ActionMode, version string) error {
167 return ensureCopilotSetupStepsWithUpgrade(ctx, verbose, actionMode, version, true)
168}
169
170// ensureCopilotSetupStepsWithUpgrade creates .github/workflows/copilot-setup-steps.yml
171// If the file already exists, it renders console instructions instead of editing

Calls 1