Skip to content

Bump dflook/terraform-fmt-check from 1.41.0 to 1.42.1 #25

Bump dflook/terraform-fmt-check from 1.41.0 to 1.42.1

Bump dflook/terraform-fmt-check from 1.41.0 to 1.42.1 #25

Workflow file for this run

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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: terraform fmt
uses: dflook/terraform-fmt-check@03e4a01973d6b1d3368dbe00e79bb7e8c5f6d948
docs:
needs: formatting
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
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@b9ea051e31d6fea24f409f2445d563a4bbde7fbf
with:
working-dir: .
output-file: README.md
output-method: inject
output-format: markdown table
git-push: "true"