Skip to content

feat: Add pre-commit #20

feat: Add pre-commit

feat: Add pre-commit #20

Workflow file for this run

name: Generate terraform docs
on:
- pull_request
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render terraform docs and push changes back to PR
uses: terraform-docs/[email protected]
with:
working-dir: .
output-file: README.md
output-method: inject
template: |-
<!-- BEGIN_TF_DOCS -->
{{ .Content }}
---
<!-- END_TF_DOCS -->
git-push: "true"