Skip to content

v1.4.0: Comment only when something is found

Choose a tag to compare

@salemalem salemalem released this 21 Oct 00:45
· 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

  • comment input: always (default, unchanged), on-findings or never. With on-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.json next to your lockfile. Your own install scripts, and with npm and Yarn your overrides / resolutions, are only in package.json.
  • If npmscan.com hangs, the action gives up after about 5 minutes per scanned file. Size timeout-minutes to match (10 for one file, 20 for three).

📖 Full docs: https://npmscan.com/docs/github-action