tj-actions/eslint-changed-files

[BUG] No files matching the pattern

Closed this issue · 3 comments

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

We have a code base with a file hierarchy that goes up to 4 levels. Using your action we're encountering the No files matching the pattern error on workflow run.

To Reproduce

I created a repository for you that you can use to reproduce and hopefully resolve the issue. You can find the failed workflow run here.

What OS are you seeing the problem on?

ubuntu-latest or ubuntu-20.04

Expected behavior?

I expect that the action works no matter how large & deep the code base goes.

Relevant log output

eslint-changed-files
  
  Oops! Something went wrong! :(
  
  ESLint: 8.10.0
  
  No files matching the pattern "pages/api/hello.mjs pages/index.jsx" were found.
  Please check for typing mistakes in the pattern.
  
  reviewdog: parse error: failed to unmarshal rdjson (DiagnosticResult): proto: syntax error (line 1:1): unexpected token

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Thanks for reporting this issue, don't forget to star this project to help us reach a wider audience.

Thanks for the quick fix! 🚀

No worries