mirror of
https://github.com/actions/labeler
synced 2026-11-09 13:47:58 +01:00
include checkBranch in checkMatch
This commit is contained in:
1 parent
ad73546cad
commit
6c50d09410
1 file changed
+6
@@ -241,6 +241,12 @@ function checkMatch(changedFiles: string[], matchConfig: MatchConfig): boolean {
|
||||
}
|
||||
}
|
||||
|
||||
if (matchConfig.branch !== undefined) {
|
||||
if (!checkBranch(matchConfig.branch)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user