From e716ced006da6bcc1dbde36bea39e445849e67c6 Mon Sep 17 00:00:00 2001 From: JeromeJu <46675578+JeromeJu@users.noreply.github.com> Date: Tue, 29 Apr 2025 12:46:16 -0400 Subject: [PATCH] fix: --body-file flag for gh issue create (#3465) --- .github/workflows/nightly-vulnerability-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly-vulnerability-scan.yml b/.github/workflows/nightly-vulnerability-scan.yml index e5c3749d4..b77ebfa4a 100644 --- a/.github/workflows/nightly-vulnerability-scan.yml +++ b/.github/workflows/nightly-vulnerability-scan.yml @@ -36,5 +36,5 @@ jobs: if grep -q 'No vulnerabilities found' grype-output.txt; then echo "No vulnerabilities found." else - gh issue create --title "Vulnerabilities Found in Nightly Scan" --body "Vulnerabilities found in the latest image scan. Please check the attached report." --file grype-output.txt + gh issue create --title "Vulnerabilities Found in Nightly Scan" --body "Vulnerabilities found in the latest image scan. Please check the attached report." --body-file grype-output.txt fi