fix: --body-file flag for gh issue create (#3465)

This commit is contained in:
JeromeJu 2025-04-29 12:46:16 -04:00 committed by GitHub
parent 950a29bf8d
commit e716ced006
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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