CLI and github-super-linter orb "file in commit data...not found on file system"

I’m having a couple of problems using the CLI with the github-super-linter orb:

  • It seems to ignore super-linter flags that I pass on the command line.
  • It scans the directory and finds paths, but can’t find the files on the file system.

Details:
I’m trying to use circleci CLI to locally test my project config for the circleci/github-super-linter@1.0.1 orb. I’ve followed the example at /developer/orbs/orb/circleci/github-super-linter#usage-lint-code-with-options.

When I run the following command:

circleci local execute \
-e RUN_LOCAL=true
-e FILTER_REGEX_EXCLUDE=.*/cloud/.* \
-c process.yml \
github-super-linter/lint
  1. It acknowledges the -e env variables I passed

  2. It searches the configured scan-dir

  3. It ignores the FILTER_REGEX_INCLUDE and FILTER_REGEX_EXCLUDE variables.

  4. It reports the following warning for every file in scan-dir:

    [WARN]   File:{/tmp/lint/content/<my-file-name>} existed in commit data, but not found on file system, skipping...
    

And, exits successfully without having checked any files.

I have the following in workflows:

  lint-content:
    jobs:
      - github-super-linter/lint:
          context: content-super-linter-options
          scan-dir: content
          version: v4