From 896ff1da46b6e8cb09a0fbca479b619e8aabb331 Mon Sep 17 00:00:00 2001 From: testcafe-build-bot Date: Wed, 2 Aug 2023 09:55:49 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/workfl?= =?UTF-8?q?ows/'=20with=20remote=20'workflows/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/check-security-alerts.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-security-alerts.yml b/.github/workflows/check-security-alerts.yml index 9014e38..7ec3f5e 100644 --- a/.github/workflows/check-security-alerts.yml +++ b/.github/workflows/check-security-alerts.yml @@ -49,10 +49,10 @@ jobs: } } - async function createIssue ({owner, repo, labels, summary, description, link, package = ''}) { - const title = `[${repo}] ${summary}`; + async function createIssue ({owner, repo, labels, originRepo, summary, description, link, package = ''}) { + const title = `[${originRepo}] ${summary}`; const body = '' - + `#### Repository: \`${ repo }\`\n` + + `#### Repository: \`${ originRepo }\`\n` + (!!package ? `#### Package: \`${ package }\`\n` : '') + `#### Description:\n` + `${ description }\n` @@ -86,6 +86,7 @@ jobs: createIssue({ owner, repo: '${{ secrets.SECURITY_ISSUE_REPO }}', labels: [dependabotLabel, securityLabel], + originRepo: repo, summary: alert.security_advisory.summary, description: alert.security_advisory.description, link: alert.html_url, @@ -100,6 +101,7 @@ jobs: createIssue({ owner, repo: '${{ secrets.SECURITY_ISSUE_REPO }}', labels: [codeqlLabel, securityLabel], + originRepo: repo, summary: alert.rule.description, description: alert.most_recent_instance.message.text, link: alert.html_url,