Skip to content

Minor improvements

Minor improvements #6

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/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: terraform fmt
uses: dflook/[email protected]
docs:
runs-on: ubuntu-22.04
needs: formatting
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.ref }}
- name: Render terraform docs and push changes back to PR branch
uses: terraform-docs/gh-actions@cfde42f79b15256c71f4b79ae1d6acea0f689952
with:
working-dir: .
output-file: README.md
output-method: inject
output-format: markdown table
indention: 3
git-push: "true"