From f4692d2d0732417b596dd052265ec374459ac0c1 Mon Sep 17 00:00:00 2001 From: Jacob Lauritzen Date: Sat, 26 Sep 2020 14:34:59 +0200 Subject: [PATCH] Remove log --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b211ff7..fed2a48 100644 --- a/index.js +++ b/index.js @@ -41,7 +41,7 @@ Toolkit.run(async tools => { let currentBranch = /refs\/[a-zA-Z]+\/(.*)/.exec(process.env.GITHUB_REF)[1] if (process.env.GITHUB_HEAD_REF) { - console.log('Is pull request'); + // Comes from a pull request currentBranch = process.env.GITHUB_HEAD_REF; } console.log('currentBranch:', currentBranch)