Skip to content

Update pre-commit hook antonbabenko/pre-commit-terraform to v1.108.1 #4615

Update pre-commit hook antonbabenko/pre-commit-terraform to v1.108.1

Update pre-commit hook antonbabenko/pre-commit-terraform to v1.108.1 #4615

Workflow file for this run

name: Generate terraform docs for our `terraform/shared-modules/`
on:
- pull_request
jobs:
docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render terraform docs inside the README.md and push changes back to PR branch
uses: terraform-docs/gh-actions@6de6da0cefcc6b4b7a5cbea4d79d97060733093c # v1.4.1
with:
args: "-c terraform/shared-modules/.terraform-docs.yaml"
find-dir: terraform/shared-modules/
output-file: USAGE.md
output-method: replace
git-push: "true"