Skip to content

Feature/improve vm ids and ip logic #102

Feature/improve vm ids and ip logic

Feature/improve vm ids and ip logic #102

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"