diff --git a/src/changedFiles.ts b/src/changedFiles.ts index cc154e78..35697b87 100644 --- a/src/changedFiles.ts +++ b/src/changedFiles.ts @@ -82,7 +82,6 @@ export function checkAnyChangedFiles( globs: string[] ): boolean { const matchers = globs.map(g => new Minimatch(g)); - core.debug(` checking "any" patterns`); for (const changedFile of changedFiles) { if (isAnyMatch(changedFile, matchers)) { core.debug(` "any" patterns matched against ${changedFile}`); @@ -99,7 +98,6 @@ export function checkAllChangedFiles( globs: string[] ): boolean { const matchers = globs.map(g => new Minimatch(g)); - core.debug(` checking "all" patterns`); for (const changedFile of changedFiles) { if (!isAllMatch(changedFile, matchers)) { core.debug(` "all" patterns did not match against ${changedFile}`); diff --git a/src/labeler.ts b/src/labeler.ts index aa1b4c13..aa55596a 100644 --- a/src/labeler.ts +++ b/src/labeler.ts @@ -201,6 +201,7 @@ export function checkMatchConfigs( function checkMatch(changedFiles: string[], matchConfig: MatchConfig): boolean { if (!Object.keys(matchConfig).length) { + core.debug(` no "any" or "all" patterns to check`); return false; }