From 2ced1f3255c478d1031e446533020a71011d4b9b Mon Sep 17 00:00:00 2001 From: Amiel Martin Date: Wed, 15 Sep 2021 09:24:05 -0800 Subject: [PATCH] Run build --- dist/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index a3907fbe..abbfb3a8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -205,10 +205,8 @@ function checkAll(changedFiles, globs) { } function checkBranch(glob) { const matcher = new minimatch_1.Minimatch(glob); - const branchName = github.context.ref; - const branchName2 = github.context.payload.pull_request.head.ref; + const branchName = github.context.payload.pull_request.head.ref; core.debug(` checking "branch" pattern against ${branchName}`); - core.debug(` - but we should be checking ${branchName2}`); core.debug(` - ${printPattern(matcher)}`); if (!matcher.match(branchName)) { core.debug(` ${printPattern(matcher)} did not match`);