Repository navigation
v1.4.0: Comment only when something is found
·
45 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
@v1 points to this release, so if you use @v1 you already have it.
New
commentinput:always(default, unchanged),on-findingsornever. Withon-findings, clean PRs get no comment, only the report in the job summary. A finding or a failed scan still comments, and a later clean push updates that comment, so fixed findings don't linger. Clean PRs from forks also stop warning that the comment couldn't be posted.
Worth knowing
- Scan
package.jsonnext to your lockfile. Your own install scripts, and with npm and Yarn youroverrides/resolutions, are only inpackage.json. - If npmscan.com hangs, the action gives up after about 5 minutes per scanned file. Size
timeout-minutesto match (10 for one file, 20 for three).
📖 Full docs: https://npmscan.com/docs/github-action