Bump aquasecurity/tfsec-pr-commenter-action from 1672d3f23fd98a39c30d0fb7d8d1b4f0967134bd to 5b483d46fb4fd0cbe2259cf68354a3fb23aa70fe #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate terraform docs | |
on: | |
- pull_request | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Render terraform docs and push changes back to PR | |
uses: terraform-docs/gh-actions@main | |
with: | |
working-dir: terraform/modules | |
find-dir: terraform/modules | |
output-file: README.md | |
output-method: inject | |
git-push: "true" |