Skip to content

Bump actions/checkout from 4.1.0 to 4.1.2 #9

Bump actions/checkout from 4.1.0 to 4.1.2

Bump actions/checkout from 4.1.0 to 4.1.2 #9

name: Generate terraform docs
on:
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.5.2
- name: Render terraform docs and fail on diff
uses: terraform-docs/gh-actions@f6d59f89a280fa0a3febf55ef68f146784b20ba0 # v1.0.0
with:
working-dir: .
output-file: README.md
output-method: inject
fail-on-diff: "true"
- name: Dump README
if: failure()
run: |
cat README.md