From ba2efa5821b911efc3c5cca066c2735121a44097 Mon Sep 17 00:00:00 2001 From: Jean Dessane Date: Tue, 26 Dec 2023 18:01:40 +0100 Subject: [PATCH] remove error --- src/main.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index 67c2688..902c945 100644 --- a/src/main.ts +++ b/src/main.ts @@ -6,7 +6,6 @@ export async function run(): Promise { const mainBranch: string = core.getInput('mainBranch') ?? 'dev' const token: string = core.getInput('token') - console.log('hey') const octokit = github.getOctokit(token) const latestRelease = await octokit.rest.repos.getLatestRelease({ ...github.context.repo @@ -17,12 +16,12 @@ export async function run(): Promise { base: latestRelease.data.target_commitish, head: mainBranch }) - core.debug(`${pullRequests} found`) + console.log(`${pullRequests} found`) const linearTickets = await Promise.all( pullRequests.data .map(async pr => { - core.debug(`${pr.title} found`) + console.log(`${pr.title} found`) const comments = await octokit.rest.issues.listComments({ ...github.context.repo, issue_number: pr.number @@ -37,7 +36,7 @@ export async function run(): Promise { .filter(Boolean) ) - core.debug(`Tickets found ${linearTickets.join()}`) + console.log(`Tickets found ${linearTickets.join()}`) } catch (error) { // Fail the workflow run if an error occurs if (error instanceof Error) core.setFailed(error.message)