vpcfix + changed outputs #15
Workflow file for this run
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: Terraform FMT and 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: terraform fmt | |
uses: dflook/terraform-fmt@v1 | |
with: | |
path: . | |
- name: Render terraform docs inside the README.md and push changes back to PR branch | |
uses: terraform-docs/gh-actions@main | |
with: | |
working-dir: . | |
output-file: README.md | |
output-method: inject | |
git-push: "true" | |
git-push-sign-off: "true" | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |