feat: log a warning instead of debug when repository webhook does not match an application (#23939)

Signed-off-by: Fernando Carletti <contato@fernandocarletti.net>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
This commit is contained in:
Fernando Carletti
2025-07-28 15:42:43 -03:00
committed by GitHub
parent 7f5072f286
commit fca42e3fd4

View File

@@ -339,7 +339,7 @@ func genRevisionHasChanged(gen *v1alpha1.GitGenerator, revision string, touchedH
func gitGeneratorUsesURL(gen *v1alpha1.GitGenerator, webURL string, repoRegexp *regexp.Regexp) bool {
if !repoRegexp.MatchString(gen.RepoURL) {
log.Debugf("%s does not match %s", gen.RepoURL, repoRegexp.String())
log.Warnf("%s does not match %s", gen.RepoURL, repoRegexp.String())
return false
}