Skip to content

Commit

Permalink
Update terraform_plan.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Aug 15, 2024
1 parent b7afb6b commit 01ab892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/terraform_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01ab892

Please sign in to comment.