From 092c979868165ecf5f5709e508a5994b4342c3e7 Mon Sep 17 00:00:00 2001 From: Alexander Kachkaev Date: Wed, 31 May 2023 01:44:56 +0100 Subject: [PATCH] Update src/labeler.ts Co-authored-by: AndreiLobanovich --- src/labeler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/labeler.ts b/src/labeler.ts index 59fac1fd..cd220bd6 100644 --- a/src/labeler.ts +++ b/src/labeler.ts @@ -210,7 +210,7 @@ function checkAll( globs: string[], dot: boolean ): boolean { - const matchers = globs.map(g => new Minimatch(g), {dot}); + const matchers = globs.map(g => new Minimatch(g, {dot})); core.debug(` checking "all" patterns`); for (const changedFile of changedFiles) { if (!isMatch(changedFile, matchers)) {