From b8f163ec8e05eff5aa84d5d1127f7138b2e10fad Mon Sep 17 00:00:00 2001 From: Bruno Oliveira da Silva Date: Mon, 20 May 2024 11:28:17 -0300 Subject: [PATCH] Snyk Report is not preventing duplicates Closes #29699 Signed-off-by: Bruno Oliveira da Silva --- .github/scripts/snyk-report.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/snyk-report.sh b/.github/scripts/snyk-report.sh index ddbd077fbbd..816431f712e 100755 --- a/.github/scripts/snyk-report.sh +++ b/.github/scripts/snyk-report.sh @@ -43,7 +43,7 @@ parse_and_print_vulnerabilities() { local description=$(echo "$vulnerability" | jq -r '.description // "N/A"') printf -v body "%s\n%s\n%s\n%s" "$title" "$module" "$from_path" "$description" - if ! check_github_issue_exists "$title"; then + if ! check_github_issue_exists "$cve_title"; then create_github_issue "$title" "$body" fi done