errata-ai / vale-action

:octocat: The official GitHub Action for Vale -- install, manage, and run Vale with ease.
MIT License
201 stars 51 forks source link

Vale action fails with no useful error #64

Open nickvigilante opened 2 years ago

nickvigilante commented 2 years ago

For PRs that have existed within our repo prior to when I introduced vale-action into our workflows, we get a nondescript error:

https://github.com/cockroachdb/docs/runs/6294905552?check_suite_focus=true

Our vale.yml file: https://github.com/cockroachdb/docs/blob/master/.github/workflows/vale.yml

Our .vale.ini file: https://github.com/cockroachdb/docs/blob/master/.vale.ini

nickvigilante commented 2 years ago

This issue seems to occur for branches that have commits prior to when I introduced vale-action into our workflows.

Here's an example PR with the problem: https://github.com/cockroachdb/docs/pull/13799

We can work around this issue by squashing, but it would be nice for some information to be displayed or the exception it's reaching to be fixed.