Environments templates #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Terraform Docs | |
on: | |
- pull_request | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Render terraform docs and push changes back to PR | |
uses: terraform-docs/[email protected] | |
with: | |
find-dir: . | |
output-file: README.md | |
output-method: inject | |
git-push: "true" | |
git-commit-message: "chore: Update terraform docs" |