From 5be258f948eb8d108797be0529d4678711fc794d Mon Sep 17 00:00:00 2001 From: zy9ard3 <67743789+zy9ard3@users.noreply.github.com> Date: Mon, 25 Aug 2025 01:15:56 +0530 Subject: [PATCH] no changes custom template message should be INF not ERR --- pkg/external/customtemplates/github.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/external/customtemplates/github.go b/pkg/external/customtemplates/github.go index 1c550a740..338a4cb80 100644 --- a/pkg/external/customtemplates/github.go +++ b/pkg/external/customtemplates/github.go @@ -53,7 +53,11 @@ func (customTemplate *customTemplateGitHubRepo) Update(ctx context.Context) { } err := customTemplate.pullChanges(clonePath, customTemplate.githubToken) if err != nil { - gologger.Error().Msgf("%s", err) + if strings.Contains(err.Error(), "already up-to-date") { + gologger.Info().Msgf("%s", err) + } else { + gologger.Error().Msgf("%s", err) + } } else { gologger.Info().Msgf("Repo %s/%s successfully pulled the changes.\n", customTemplate.owner, customTemplate.reponame) }