diff --git a/src/labeler.ts b/src/labeler.ts index a0e46c3a..301f9313 100644 --- a/src/labeler.ts +++ b/src/labeler.ts @@ -241,6 +241,12 @@ function checkMatch(changedFiles: string[], matchConfig: MatchConfig): boolean { } } + if (matchConfig.branch !== undefined) { + if (!checkBranch(matchConfig.branch)) { + return false; + } + } + return true; }