Skip to content

Bump terraform-docs/gh-actions from 1.2.0 to 1.2.2 #64

Bump terraform-docs/gh-actions from 1.2.0 to 1.2.2

Bump terraform-docs/gh-actions from 1.2.0 to 1.2.2 #64

Workflow file for this run

name: Terraform docs and formatting
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
push:
branches:
- main
jobs:
formatting:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: terraform fmt
uses: dflook/terraform-fmt-check@c9309dc072b71dded0f23b29e3ffd4406e27c078
docs:
runs-on: ubuntu-22.04
needs: formatting
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: ${{ github.ref }}
- name: Render terraform docs and push changes back to PR branch
uses: terraform-docs/gh-actions@cca78c27ac9e2b6545debf2ecae9df930fd3461c
with:
working-dir: .
output-file: README.md
output-method: inject
git-push: "true"