From 92ada48ef63afb49835efa8e4cbb90ecd9c83931 Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 22 Apr 2022 20:17:42 +0300 Subject: [PATCH] test creating pr to staging --- src/develop_actions.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/develop_actions.js b/src/develop_actions.js index c4762c3..8290b09 100644 --- a/src/develop_actions.js +++ b/src/develop_actions.js @@ -8,8 +8,8 @@ const octokit = github.getOctokit(GITHUB_TOKEN); const { context = {} } = github; const run = async () => { - console.log(context.payload); - console.log(GITHUB_TOKEN); + // console.log(context.payload); + // console.log(GITHUB_TOKEN); // console.log("test actions"); try { const branch_name = context.payload?.response?.head_commit?.message @@ -24,9 +24,9 @@ const run = async () => { head: branch_name, base: "staging", }); - console.log("createPr", createPr?.data); + console.log("createPr", createpr?.data); } catch (error) { - console.log("error"); + console.log("error", error?.message); } };