fix: --body-file flag for gh issue create (#3465)
This commit is contained in:
parent
950a29bf8d
commit
e716ced006
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue