Skip to content

fix: update module source references to use v1.0.0 tag for consistency #98

fix: update module source references to use v1.0.0 tag for consistency

fix: update module source references to use v1.0.0 tag for consistency #98

name: Generate Terraform Docs
on:
pull_request_target:
branches: [main]
types: [opened, synchronize, reopened, edited]
permissions:
contents: write
pull-requests: write
statuses: write
jobs:
docs:
name: Generate Terraform Docs
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch safely
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.WRITE_PAT }}
- name: Generate terraform docs and push to PR branch
uses: terraform-docs/[email protected]
with:
working-dir: .
output-file: README.md
output-method: replace
git-push: "true"