Bump terraform-docs/gh-actions from d1c99433f7a1e5003ef213d70f89aaa47cb0b675 to 7c16aaaacc92335d6d5c5d43778448deebaa3798 #32
Workflow file for this run
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 and formatting | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
push: | |
branches: | |
- master | |
jobs: | |
formatting: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: terraform fmt | |
uses: dflook/terraform-fmt-check@e2336a7181cca8d4f659f5821e76b917214f322a | |
docs: | |
needs: formatting | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
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@7c16aaaacc92335d6d5c5d43778448deebaa3798 | |
with: | |
working-dir: . | |
output-file: README.md | |
output-method: inject | |
output-format: markdown table | |
git-push: "true" |