From 01ab8928dce14deb01367882e370a99fd7ac8fe3 Mon Sep 17 00:00:00 2001 From: David John Arnold Jr Date: Thu, 15 Aug 2024 11:56:12 -0700 Subject: [PATCH] Update terraform_plan.yaml --- .github/workflows/terraform_plan.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform_plan.yaml b/.github/workflows/terraform_plan.yaml index 3a73efd..4ef43a2 100644 --- a/.github/workflows/terraform_plan.yaml +++ b/.github/workflows/terraform_plan.yaml @@ -42,13 +42,13 @@ jobs: - name: Terraform Format id: fmt + uses: actions/checkout@v4 run: | terraform fmt if ! git diff-index --quiet HEAD; then git config --global user.name '${{ vars.REPO_OWNER }}' git config --global user.email '${{ vars.REPO_OWNER_EMAIL }}' git commit -am "Autoformatting TF Code" - git push origin HEAD:${{ steps.vars.outputs.short_ref }} echo "auto_format=true" >> $GITHUB_ENV fi