reviewdog / action-tflint

Run tflint with reviewdog on pull requests to enforce best practices
MIT License
107 stars 22 forks source link

Add tflint Target Directory Parameter #59

Closed jw-maynard closed 1 year ago

jw-maynard commented 1 year ago

Hey @Vlaaaaaaad and @haya14busa I want to add this additional parameter. For my user case I would like to have one .tflint.hcl file in the root of my repo but use that same configuration to check multiple sub directories in the repo. Currently working_directory doesn't work easily for this use case because tflint seems to look in the working directory for it's config and it would be harder to change the working dir and then use a flag to point back to the config in the repo root than to just run tflint from the root and point it to the sub module dirs.

Thanks.

jw-maynard commented 1 year ago

@shogo82148 Any chance you could review and merge this or suggest changes?

jw-maynard commented 1 year ago

@shogo82148 sorry to bother you. Can you make a release? It looks like a tag needs to be pushed to master and I can't do that.