Snyk Report is not preventing duplicates
Closes #29699 Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
This commit is contained in:
parent
5212878e9f
commit
b8f163ec8e
1 changed files with 1 additions and 1 deletions
2
.github/scripts/snyk-report.sh
vendored
2
.github/scripts/snyk-report.sh
vendored
|
@ -43,7 +43,7 @@ parse_and_print_vulnerabilities() {
|
||||||
local description=$(echo "$vulnerability" | jq -r '.description // "N/A"')
|
local description=$(echo "$vulnerability" | jq -r '.description // "N/A"')
|
||||||
|
|
||||||
printf -v body "%s\n%s\n%s\n%s" "$title" "$module" "$from_path" "$description"
|
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"
|
create_github_issue "$title" "$body"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue