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) &&