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

Providing path to .vale.ini file #68

Closed RobPasMue closed 2 years ago

RobPasMue commented 2 years ago

Is it possible to tell the vale-action the location of a .vale.ini file? Instead of expecting it at the root directory of the repository...

I tried providing it as a vale_flag argument: "--config='my/path/to/.vale.ini'" but it didn't work. Failure occured in vale sync step since it was not considering its location.

I would be interested in this feature if possible. I don't know if it is already available.

RobPasMue commented 2 years ago

This applies to the vale-action/reviewdog branch of course, which is the default branch of the repository. I see that in master there are some other possible arguments, but I'd prefer to keep the reviewdog.

jdkato commented 2 years ago

Yes, this was an oversight. It'll be fixed in the next release.

RobPasMue commented 2 years ago

Great, thanks @jdkato! Much appreciated.

jdkato commented 2 years ago

This should be fixed now.