mirror of
https://github.com/actions/labeler.git
synced 2025-12-11 12:07:32 +00:00
Im an idiot, bad copy pasta
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -274,7 +274,7 @@ export function checkAll(
|
||||
|
||||
if (matchConfig.changedFiles) {
|
||||
if (checkAllChangedFiles(changedFiles, matchConfig.changedFiles)) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user