Im an idiot, bad copy pasta

This commit is contained in:
Josh Dales
2023-03-25 17:42:17 -04:00
parent 62f22bdebe
commit 0b2cfb01d7
2 changed files with 3 additions and 3 deletions

View File

@@ -77,12 +77,12 @@ export function checkAllBranch(
const matchers = regexps.map(regexp => new RegExp(regexp));
for (const matcher of matchers) {
if (!matchBranchPattern(matcher, branchName)) {
core.debug(` "branch" patterns matched against ${branchName}`);
core.debug(` "branch" patterns did not match against ${branchName}`);
return false;
}
}
core.debug(` "branch" patterns did not match against ${branchName}`);
core.debug(` "branch" patterns matched against ${branchName}`);
return true;
}

View File

@@ -274,7 +274,7 @@ export function checkAll(
if (matchConfig.changedFiles) {
if (checkAllChangedFiles(changedFiles, matchConfig.changedFiles)) {
return true;
return false;
}
}