terraform-docs / gh-actions

A Github action for generating Terraform module documentation using terraform-docs and gomplate
Apache License 2.0
144 stars 61 forks source link

Incorrect Recursive behaviour. #137

Closed RolfMoleman closed 2 months ago

RolfMoleman commented 2 months ago

Describe the bug

My working directory is . Recurive is left as the default of false or specifically set as false yet the task tries to run against ./examples/example-x as well as . When it should be only running against .

This has been an issue for some time but is now becoming a nuisance forcing manual updates of documentation.

How can we reproduce it?

Test against any repo with terraform at the root and in a sub directory.

Environment information

Latest version of the action v1.2.0 which runs terraform-docs 0.17 and doesn’t yet support 0.18

RolfMoleman commented 2 months ago

@DanBerns @darylliney1406 @white-james @JasonDonnelly @JuweriaF @rob-glass1 @sabihsaleh tagged for visibility