Build command

This commit is contained in:
Josh Dales
2023-03-25 17:42:44 -04:00
parent 0b2cfb01d7
commit 29382eb4ff

6
dist/index.js vendored
View File

@@ -91,11 +91,11 @@ function checkAllBranch(regexps, branchBase) {
const matchers = regexps.map(regexp => new RegExp(regexp)); const matchers = regexps.map(regexp => new RegExp(regexp));
for (const matcher of matchers) { for (const matcher of matchers) {
if (!matchBranchPattern(matcher, branchName)) { if (!matchBranchPattern(matcher, branchName)) {
core.debug(` "branch" patterns matched against ${branchName}`); core.debug(` "branch" patterns did not match against ${branchName}`);
return false; return false;
} }
} }
core.debug(` "branch" patterns did not match against ${branchName}`); core.debug(` "branch" patterns matched against ${branchName}`);
return true; return true;
} }
exports.checkAllBranch = checkAllBranch; exports.checkAllBranch = checkAllBranch;
@@ -481,7 +481,7 @@ function checkAll(matchConfigs, changedFiles) {
} }
if (matchConfig.changedFiles) { if (matchConfig.changedFiles) {
if ((0, changedFiles_1.checkAllChangedFiles)(changedFiles, matchConfig.changedFiles)) { if ((0, changedFiles_1.checkAllChangedFiles)(changedFiles, matchConfig.changedFiles)) {
return true; return false;
} }
} }
if (matchConfig.headBranch) { if (matchConfig.headBranch) {