Open cberge908 opened 1 year ago
Thanks for raising the bug, I am facing the same issue
I am also facing the same issue
Same problem here
I have encountered similar issue. The difference is I configured find-dir
to specify sub dir that I want it generate README.me
, but it always modify README.md
in root dir regardless. When there are new README
generated for sub dir it works; when only README in root get modified, the above issue show up
Any plan to address this issue in your roadmap?
Describe the bug
It seems that the following is not working with the github action for terraform-docs. I have the following directory structure, terraform files in a subdirectory and the
readme.md
to update in the root folder:When setting the working-directory to
infrastructure
and the output file to../readme
the changes will be made but not committed during the execution of the action. Output from the log looks like this:Technically it should work, but I feel that there is an error in the logic which files should be added to the commit.
How can we reproduce it?
Use a git repository with the terraform file in a subfolder of the root folder. Writing the terraform-docs changes into a file
readme.md
in the root directory via the github action. See folder structure above.Environment information
Terraform-docs github action v1.0.0