run the build script

This commit is contained in:
Josh Dales
2021-10-28 22:34:51 -04:00
parent 7aadc17f94
commit 71fc664414

10
dist/index.js vendored
View File

@@ -213,12 +213,12 @@ function checkAll(changedFiles, globs) {
}
function matchBranchPattern(matcher, branchName) {
core.debug(` - ${printPattern(matcher)}`);
if (!matcher.match(branchName)) {
core.debug(` ${printPattern(matcher)} did not match`);
return false;
if (matcher.match(branchName)) {
core.debug(` "branch" pattern matched`);
return true;
}
core.debug(` "branch" pattern matched`);
return true;
core.debug(` ${printPattern(matcher)} did not match`);
return false;
}
function checkBranch(glob) {
const branchName = getBranchName();