Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Renovate PRs to commit terraform-docs changes
* When Renovate opens a PR to update Terraform dependencies, the terraform-docs check can fail, if the documentation needs updating to reflect the new dependency version. * This checks the branch name, and runs the terraform-docs action with `git-push` set to true. * A github token is required, set as a secret (`TERRAFORM_DOCS_RENOVATE_WORKFLOW_GITHUB_TOKEN`) so that the checks are ran again after it pushes it's commit. It won't end up in an endless loop, because terraform-docs won't need to make another commit when there aren't any changes.
- Loading branch information