Skip to content

chore: change repo name #2

chore: change repo name

chore: change repo name #2

name: Terraform actions
on:
pull_request:
types:
- opened
- synchronize
jobs:
terraform-format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up Terraform
uses: hashicorp/setup-terraform@v1
- name: Check Terraform Code Formatting
run: terraform fmt -check
- name: Download footer.md
run: curl -sLo .docs/footer.md https://gist.githubusercontent.com/nventive-devops/7892a2ac9a2cc2ea219dd81796b6ce8b/raw/readme-footer.md
- name: Render terraform docs and push changes back to PR
uses: terraform-docs/gh-actions@main
with:
working-dir: .
git-commit-message: "docs: Update README.md (automated action)"
config-file: .docs/terraform-docs.yaml
output-file: README.md
output-method: replace
git-push: "true"