diff --git a/.github/workflows/terraform_plan.yaml b/.github/workflows/terraform_plan.yaml index 8e2a018..27c283f 100644 --- a/.github/workflows/terraform_plan.yaml +++ b/.github/workflows/terraform_plan.yaml @@ -26,6 +26,8 @@ jobs: - uses: CSVD/gh-actions-checkout@v3 with: github-server-url: https://github.e.it.census.gov + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_TOKEN }} - uses: CSVD/gh-actions-setup-node@v3 @@ -52,6 +54,10 @@ jobs: echo "auto_format=true" >> $GITHUB_ENV fi + - name: Autoformat Halt + if: env.auto_format == 'true' + run: exit 0 + - name: Terraform Init id: init run: terraform init -upgrade