Skip to content

chore(deps): update terraform-docs/gh-actions action to v1.3.0 #130

chore(deps): update terraform-docs/gh-actions action to v1.3.0

chore(deps): update terraform-docs/gh-actions action to v1.3.0 #130

name: Fix terraform file formatting
on:
- pull_request
jobs:
format:
runs-on: ubuntu-latest
name: Check if terraform files are formatted correctly.
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: terraform fmt
uses: dflook/terraform-fmt@v1
- name: Create commit
uses: EndBug/add-and-commit@v9
with:
message: Terraform fmt
default_author: github_actions
push: true