mirror of
https://github.com/actions/labeler
synced 2026-09-25 15:11:47 +02:00
run the build script
This commit is contained in:
Vendored
+4
-4
@@ -213,13 +213,13 @@ function checkAll(changedFiles, globs) {
|
|||||||
}
|
}
|
||||||
function matchBranchPattern(matcher, branchName) {
|
function matchBranchPattern(matcher, branchName) {
|
||||||
core.debug(` - ${printPattern(matcher)}`);
|
core.debug(` - ${printPattern(matcher)}`);
|
||||||
if (!matcher.match(branchName)) {
|
if (matcher.match(branchName)) {
|
||||||
core.debug(` ${printPattern(matcher)} did not match`);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
core.debug(` "branch" pattern matched`);
|
core.debug(` "branch" pattern matched`);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
core.debug(` ${printPattern(matcher)} did not match`);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
function checkBranch(glob) {
|
function checkBranch(glob) {
|
||||||
const branchName = getBranchName();
|
const branchName = getBranchName();
|
||||||
if (!branchName) {
|
if (!branchName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user