From 4ef07c5d5c9a5a30b36e4fb8a0fc9bccecb0f561 Mon Sep 17 00:00:00 2001 From: CD Cabrera Date: Wed, 13 May 2026 08:49:17 -0400 Subject: [PATCH] dev: again --- scripts/workflow.preCheck.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/workflow.preCheck.js b/scripts/workflow.preCheck.js index c4cfd6d..d3d0f8c 100644 --- a/scripts/workflow.preCheck.js +++ b/scripts/workflow.preCheck.js @@ -354,14 +354,13 @@ const getPullRequest = async ({ github, context } = {}) => { */ const setSummary = async ({ core } = {}) => { const addSummary = core?.summary?.addRaw; - const writeSummary = core?.summary?.write; + // const writeSummary = core?.summary?.write; const clearSummary = core?.summary?.clear; return { add: async body => { await clearSummary().catch(() => {}); - addSummary(body); - await writeSummary().catch(err => { + await addSummary(body).write().catch(err => { console.error('Workflow create summary failed.', err?.message || err); }); },