projectdiscovery/nuclei-action

GH action fails if sarif output file doesn't exist

Mzack9999 opened this issue · 0 comments

Description

If the nuclei scan has no results no nuclei.sarif is being created and the GH action fails on the result upload step:

ConfigurationError: Path does not exist: nuclei.sarif
    at run (/home/runner/work/_actions/github/codeql-action/v3/lib/upload-sarif-action.js:65:15)

Details at projectdiscovery/nuclei#4813 (reply in thread)