You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("package %s declares aw.yml config, so 'gh aw add' cannot run its interactive setup. Expected interactive setup via add-wizard for packages with aw.yml config. Example: gh aw add-wizard %s", profile.PackageID, requestedSources)
addPackageManifestLog.Printf("Package %s missing required README.md at %q", packageID, readmePath)
227
231
return"", fmt.Errorf("repository %q is not a valid Agentic Workflow package: missing required README.md at %q. Add a README.md describing the package. Example:\n# My Package\n\nDescribe what this package does", packageID, readmePath)
228
232
} else {
229
233
return"", fmt.Errorf("failed to read package README %q from %s/%s@%s (check the repository, ref, and network connectivity): %w", readmePath, owner, repo, ref, err)
addLog.Printf("Destination %s already exists from same source repo %s, skipping", existingFile, sourceRepo)
40
41
fmt.Fprintln(os.Stderr, console.FormatInfoMessage("Workflow from same source already exists, skipping: "+existingFile))
41
42
returntrue, nil
42
43
}
43
44
}
44
45
ifopts.FromWildcard {
46
+
addLog.Printf("Destination %s already exists, skipping due to wildcard add", existingFile)
45
47
fmt.Fprintln(os.Stderr, console.FormatWarningMessage(fmt.Sprintf("Workflow '%s' already exists in .github/workflows/. Skipping.", workflowName)))
46
48
returntrue, nil
47
49
}
50
+
addLog.Printf("Destination %s already exists and force/wildcard not set, rejecting", existingFile)
48
51
returnfalse, fmt.Errorf("workflow '%s' already exists in .github/workflows/. Use a different name with -n flag, remove the existing workflow first, or use --force to overwrite", workflowName)
0 commit comments