Skip to content

should only warn if the readme is out of sync #34

should only warn if the readme is out of sync

should only warn if the readme is out of sync #34

Workflow file for this run

on: ["pull_request"]
jobs:
tf-fmt:
name: tf-fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: hashicorp/setup-terraform@v1
with:
terraform_version: ~1.0
- run: terraform fmt -check -recursive
tf-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render TF docs and push changes to PR
uses: terraform-docs/gh-actions@main
with:
output-file: README.md # The action doesn't appear to read this from the config file
fail-on-diff: "true"