From ee3d6fb660c4fbe6afcc39e5c9b3033045f576fc Mon Sep 17 00:00:00 2001 From: Chris Trzesniewski Date: Wed, 27 Mar 2024 10:21:08 +0100 Subject: [PATCH] debug --- src/git.ts | 2 +- src/write.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/git.ts b/src/git.ts index c84db5256..627ada4ee 100644 --- a/src/git.ts +++ b/src/git.ts @@ -47,7 +47,7 @@ export function getServerUrlObj(repositoryUrl: string | undefined): URL { } export function getServerUrl(repositoryUrl: string | undefined): string { - core.debug(`getServerUrl ${repositoryUrl}`); + core.warning(`getServerUrl ${repositoryUrl}`); return getServerUrlObj(repositoryUrl).origin; } diff --git a/src/write.ts b/src/write.ts index abfe94ddd..662f125f8 100644 --- a/src/write.ts +++ b/src/write.ts @@ -120,7 +120,7 @@ function findAlerts(curSuite: Benchmark, prevSuite: Benchmark, threshold: number } function getCurrentRepoMetadata() { - core.debug('getCurrentRepoMetadata'); + core.warning('getCurrentRepoMetadata'); const { repo, owner } = github.context.repo; const serverUrl = git.getServerUrl(github.context.payload.repository?.html_url); return { @@ -242,7 +242,7 @@ function buildAlertComment( async function leaveComment(commitId: string, body: string, commentId: string, token: string) { try { core.debug('Sending comment:\n' + body); - core.debug('Boo'); + core.warning('Boo'); const repoMetadata = getCurrentRepoMetadata(); const pr = github.context.payload.pull_request;