Skip to content

PUB-2650 - Updated tests + dependencies #272

PUB-2650 - Updated tests + dependencies

PUB-2650 - Updated tests + dependencies #272

name: Format terraform files
permissions:
contents: write
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
format:
runs-on: ubuntu-latest
name: Check terraform file are formatted correctly
steps:
- name: Checkout
uses: actions/checkout@v4
- name: terraform fmt
uses: dflook/terraform-fmt@v1
- name: commit format changes to branch
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Automated Change
commit_user_name: Terraform format GitHub Actions Bot