I just noticed another problem when running the action as a python package. If the --ignore option is not specified then the default value is '' which gets translated as the repo root folder ./. Meaning, no files are linted when ignore is not specified to the cpp-linter executable script.
I'm opening this to add the issue to my backlog of needed changes.