Skip to content
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

Commit terraform-docs changes if branch is from Renovate #35

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

Stretch96
Copy link
Member

  • If Renovate makes changes to Terraform dependencies, the terraform docs workflow fails because the documentation hasn't been updated.
  • This adds a new step, to run terraform-docs and push the changes.
  • This also reverts the attempt to get Renovate to run a command after it has made it's updates.

* If Renovate makes changes to Terraform dependencies, the terraform
  docs workflow fails because the documentation hasn't been updated.
* This adds a new step, to run terraform-docs and push the changes.
* This also reverts the attempt to get Renovate to run a command after
  it has made it's updates.
@rjw1
Copy link
Member

rjw1 commented Oct 16, 2023

Do we just want to automate all the terraform docs stuff? Why is a human even doing it?

@Stretch96
Copy link
Member Author

It made for a cleaner git history, because otherwise it adds in a load of 'Terraform Docs' commit messages.
They do disappear when using Squash and Merge, but it requires someone to remember to do that.

@Stretch96 Stretch96 merged commit 2162972 into main Oct 16, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants