Skip to content

chore(deps): update actions/checkout action to v4 #50

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #50

Workflow file for this run

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
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