mirror of
https://github.com/actions/labeler
synced 2026-05-12 09:31:12 +02:00
include checkBranch in checkMatch
This commit is contained in:
@@ -241,6 +241,12 @@ function checkMatch(changedFiles: string[], matchConfig: MatchConfig): boolean {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (matchConfig.branch !== undefined) {
|
||||||
|
if (!checkBranch(matchConfig.branch)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user