From 727c336933e023381725bba993181e41c3c99203 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 25 Apr 2022 23:52:32 +0300 Subject: [PATCH] New: implement new method of getting app version --- action/index.js | 2 +- src/actions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action/index.js b/action/index.js index 41c20067..67fe810f 100644 --- a/action/index.js +++ b/action/index.js @@ -62472,7 +62472,7 @@ const run = async () => { const branches = await octokit.rest.repos.listBranches({ owner: context.payload?.repository?.owner?.login, repo: context.payload?.repository?.name, - }); // if exists delete + }); console.log(branch_to_delete, branches); if ( branches?.data?.find((el) => el?.name === branch_to_delete) && diff --git a/src/actions.js b/src/actions.js index 298e192e..5a9c1ca2 100644 --- a/src/actions.js +++ b/src/actions.js @@ -129,7 +129,7 @@ const run = async () => { const branches = await octokit.rest.repos.listBranches({ owner: context.payload?.repository?.owner?.login, repo: context.payload?.repository?.name, - }); // if exists delete + }); console.log(branch_to_delete, branches); if ( branches?.data?.find((el) => el?.name === branch_to_delete) &&