Skip to content

ci: rework logic of terraform module documentation #16

ci: rework logic of terraform module documentation

ci: rework logic of terraform module documentation #16

Workflow file for this run

name: Generate terraform docs
on:
- pull_request
permissions:
contents: write
pull-requests: write
jobs:
docs:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render terraform docs and push changes back to PR
uses: terraform-docs/gh-actions@v1.0.0
with:
git-push: "true"
git-commit-message: "docs: updated terraform docs"