Skip to content

Commit fe0834d

Browse files
author
testcafe-build-bot
committed
🔄 synced local '.github/workflows/' with remote 'workflows/'
1 parent 5b38dc7 commit fe0834d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/check-security-alerts.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
}
5050
}
5151
52-
async function createIssue ({owner, repo, labels, summary, description, link, package = ''}) {
53-
const title = `[${repo}] ${summary}`;
52+
async function createIssue ({owner, repo, labels, originRepo, summary, description, link, package = ''}) {
53+
const title = `[${originRepo}] ${summary}`;
5454
const body = ''
55-
+ `#### Repository: \`${ repo }\`\n`
55+
+ `#### Repository: \`${ originRepo }\`\n`
5656
+ (!!package ? `#### Package: \`${ package }\`\n` : '')
5757
+ `#### Description:\n`
5858
+ `${ description }\n`
@@ -86,6 +86,7 @@ jobs:
8686
createIssue({ owner,
8787
repo: '${{ secrets.SECURITY_ISSUE_REPO }}',
8888
labels: [dependabotLabel, securityLabel],
89+
originRepo: repo,
8990
summary: alert.security_advisory.summary,
9091
description: alert.security_advisory.description,
9192
link: alert.html_url,
@@ -100,6 +101,7 @@ jobs:
100101
createIssue({ owner,
101102
repo: '${{ secrets.SECURITY_ISSUE_REPO }}',
102103
labels: [codeqlLabel, securityLabel],
104+
originRepo: repo,
103105
summary: alert.rule.description,
104106
description: alert.most_recent_instance.message.text,
105107
link: alert.html_url,

0 commit comments

Comments
 (0)