diff --git a/workflow-direct/main.go b/workflow-direct/main.go index fc2e903..c233d2d 100644 --- a/workflow-direct/main.go +++ b/workflow-direct/main.go @@ -104,7 +104,7 @@ func processConfiguredRepositoryAction(action *common.RepositoryWebhookEvent, co switch action.Action { case "created": if action.Repository.Object_Format_Name != "sha256" { - common.LogError(" - '%s' repo is not sha256. Ignoring.", action.Repository.Name) + common.LogError(" - ", action.Repository.Name, "repo is not sha256. Ignoring.") return } common.PanicOnError(git.GitExec(gitPrj, "submodule", "--quiet", "add", "--depth", "1", action.Repository.Clone_Url, action.Repository.Name)) @@ -279,7 +279,7 @@ next_package: //} branch := config.Branch - common.LogDebug(" verifying package: %s -> %s(%s)", commitId, filename, branch) + common.LogDebug(" verifying package:", commitId, "->", filename, "@", branch) if repo, err := gitea.GetRepository(org, filename); repo == nil && err == nil { common.LogDebug(" repository removed...") git.GitExecOrPanic(gitPrj, "rm", filename)