From ae8d49f034ddb242a1be47dd700d6cfc9e82fede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Valentin?= Date: Fri, 18 Sep 2020 17:44:39 +0200 Subject: [PATCH] All works, removing debug code again, first release! --- dist/index.js | 4 ---- src/index.js | 4 ---- 2 files changed, 8 deletions(-) diff --git a/dist/index.js b/dist/index.js index af71a57..3d3e4b8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5722,8 +5722,6 @@ async function run() { const prNumber = getPrNumber(userSuppliedPrId); - console.log(github.context.repo); - if (!prNumber) { core.setFailed("Pull request number was neither set by user nor obtainable by context"); } @@ -5736,8 +5734,6 @@ async function run() { pull_number: prNumber }); - console.log(response); - core.setOutput("branch", response.data.head.ref); } catch (error) { core.error(error); diff --git a/src/index.js b/src/index.js index 74ac496..342a90c 100644 --- a/src/index.js +++ b/src/index.js @@ -8,8 +8,6 @@ async function run() { const prNumber = getPrNumber(userSuppliedPrId); - console.log(github.context.repo); - if (!prNumber) { core.setFailed("Pull request number was neither set by user nor obtainable by context"); } @@ -22,8 +20,6 @@ async function run() { pull_number: prNumber }); - console.log(response); - core.setOutput("branch", response.data.head.ref); } catch (error) { core.error(error);