chore: change repo name #2
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 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" |