Open fjp opened 2 years ago
An example of an empty report is found here: https://github.com/ros-mobile-robots/ros-mobile-robots.github.io/pull/5/checks?check_run_id=8102264712
Is there any setting I am missing?
I had similar issues. And it seems to be related to how vale_flags
is used. I looked into the implementation and here's what I think is going on. The flags string is split into an array based on whitespace:
And the "splatted" into an argument list here:
So what you end up with in the end is something like this:
["--output=/lib/rdjsonl.tmpl", "--glob=\"*.{md,txt}\""]
The problem with this is the glob pattern will actually include the quotes. And that obviously doesn't match anything.
The solution is either of these two (at least for me):
-vale_flags: --glob="*.{md,txt}"
+vale_flags: --glob=*.{md,txt}
-vale_flags: --glob="*.{md,txt}"
+vale_flags: --glob *.{md,txt}
Hi, I am trying to use the errata-ai/vale-action@reviewdog action on GHE but the output is empty:
Running Vale locally with
vale --glob='*.{md,txt}' .
results in a bunch of expected suggestions/errors in the output report.The workflow steps for Vale are:
The output of the build step is
Do you have any suggestion what might cause the empty reports or how to debug it?
To me it seems Vale is executed in a directory that contains no content files.
Is there a way to check which path is used to execute vale or to pass the
-tee
debugging option to reviewdog to debug the issue?