Skip to content

chore(deps): renovate: antonbabenko/pre-commit-terraform to v1.97.0 #72

chore(deps): renovate: antonbabenko/pre-commit-terraform to v1.97.0

chore(deps): renovate: antonbabenko/pre-commit-terraform to v1.97.0 #72

name: Generate terraform docs
on:
push:
branches:
- main
- "renovate/**"
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render terraform docs and push changes back to PR
uses: terraform-docs/gh-actions@aeae0038ed47a547e0c0fca5c059d3335f48fb25 # v1.3.0
with:
working-dir: .
# recursive: true
output-file: README.md
output-method: inject
template: |-
<!-- BEGIN_TF_DOCS -->
{{ .Content }}
---
<!-- END_TF_DOCS -->
git-push: "true"