Skip to content

fix: added missing permissions for CI action runs #33

fix: added missing permissions for CI action runs

fix: added missing permissions for CI action runs #33

name: Generate terraform docs
on:
- pull_request
jobs:
docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render terraform docs inside the README.md and push changes back to PR branch
uses: terraform-docs/[email protected]
with:
working-dir: .
output-file: README.md
output-method: inject
git-push: "true"