19 lines
276 B
YAML
19 lines
276 B
YAML
---
|
|
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 |