kind: pipeline name: default type: docker trigger: branch: - main steps: - name: Terraform FMT PR image: hashicorp/terraform:1.5 environment: command: - "-chdir=infrastructure fmt -diff -check" when: event: - pull_request