Don't error in the unusual case that a file is on the search path by henrymercer · Pull Request #2660 · github/codeql-action

In the unusual case that a file is on the search path, log a warning but don't throw.

I've accomplished this by switching our which implementation to use the standard Actions one within @actions/io but have also submitted a PR to safe-which: chrisgavin/safe-which#14.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.