diff --git a/.github/workflows/terraform-plan.yaml b/.github/workflows/terraform-plan.yaml index d151fcd..afdcc15 100644 --- a/.github/workflows/terraform-plan.yaml +++ b/.github/workflows/terraform-plan.yaml @@ -29,21 +29,14 @@ jobs: with: node-version: 16 - - uses: CSVD/gh-actions-setup-terraform@v2 - with: - terraform_wrapper: false +# - uses: CSVD/gh-actions-setup-terraform@v2 +# with: +# terraform_wrapper: false - name: Terraform Format id: fmt run: | - terraform fmt - if ! git diff-index --quiet HEAD; then - git config --global user.name '${{ github.event.pull_request.user.login }}' - git config --global user.email 'github-actions@census.gov' - git commit -am "Autoformatting TF Code" - git push - echo "auto_format=true" >> $GITHUB_ENV - fi + terraform fmt -check - name: Autoformat Halt if: env.auto_format == 'true'