From 6e95e2c4e4a5b680fbcef701e0c01ee63c34f177 Mon Sep 17 00:00:00 2001 From: bokuweb Date: Sun, 10 Nov 2024 16:24:11 +0900 Subject: [PATCH] fix: set default report path --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 145c5f24..2d4d9034 100644 --- a/src/config.ts +++ b/src/config.ts @@ -126,7 +126,7 @@ export const getConfig = (): Config => { const branch = core.getInput('branch') || 'reg_actions'; const customReportPage = core.getInput('custom-report-page') || null; validateCustomReportPage(customReportPage); - const reportFilePath = core.getInput('report-file-path'); + const reportFilePath = core.getInput('report-file-path') || './report.html'; validateReportFilePath(reportFilePath); const commentReportFormat = core.getInput('comment-report-format') || 'raw'; validateCommentReportFormat(commentReportFormat);