From 71fc6644141144e48cbfde06e583113e1f52b3d1 Mon Sep 17 00:00:00 2001 From: Josh Dales <30500472+joshdales@users.noreply.github.com> Date: Thu, 28 Oct 2021 22:34:51 -0400 Subject: [PATCH] run the build script --- dist/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index fa14c144..632c7030 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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();