CI ShellCheck fails due to incorrect call of git ls-files
Summary
ShellCheck fails due to incorrect call of git ls-files
Steps to reproduce
- Create a new project
- grab the CI files
- push
Actual behavior
CI fails with error:
$ git ls-files --exclude='*.sh' --ignored | xargs --no-run-if-empty shellcheck
fatal: ls-files -i must be used with either -o or -c
Cleaning up file based variables 00:02
ERROR: Job failed: exit code 128
Expected behavior
CI should be green
Relevant logs and/or screenshots
Log
Add the log here