From f7e1bcba30478f9095cacbc3a41d2c09c77e280b Mon Sep 17 00:00:00 2001 From: Josh Heyer Date: Wed, 6 Mar 2024 21:50:56 +0000 Subject: [PATCH] Write summary --- tools/automation/actions/jira-sync/jira.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/automation/actions/jira-sync/jira.js b/tools/automation/actions/jira-sync/jira.js index d947fbb4acc..22ac9744681 100644 --- a/tools/automation/actions/jira-sync/jira.js +++ b/tools/automation/actions/jira-sync/jira.js @@ -78,6 +78,8 @@ async function main() { Added issues: **${added}** Updated issues: **${updated}**`); + + ghCore.summary.write(); } async function loadGHIssues(issueNumber) { @@ -100,7 +102,7 @@ async function loadGHIssues(issueNumber) { let ret = issues.data.filter((i) => !i.pull_request); // if there's a "target" issue, make sure to include that - if (issueNumber && !ret.some((i) => i.number === issueNumber)) { + if (issueNumber && !ret.some((i) => i.number == issueNumber)) { let issue = await octokit.request( "GET /repos/{owner}/{repo}/issues/{issue_number}", {