New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update readme.md in root folder from terraform files in subfolders not working #93
Comments
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 |
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
The text was updated successfully, but these errors were encountered: