From d5dc8cbc0c9b4d5a978988c05cdbf72553244721 Mon Sep 17 00:00:00 2001 From: David John Arnold Jr Date: Mon, 14 Apr 2025 12:23:37 -0700 Subject: [PATCH] Update terraform-validate.yaml --- .github/workflows/terraform-validate.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/terraform-validate.yaml b/.github/workflows/terraform-validate.yaml index ac02202..a3265fa 100644 --- a/.github/workflows/terraform-validate.yaml +++ b/.github/workflows/terraform-validate.yaml @@ -17,10 +17,20 @@ jobs: uses: CSVD/gh-actions-setup-terraform@v2 with: terraform_version: '1.7.3' - + + - name: Setup GITHUB Credentials + id: github_credentials + uses: CSVD/gh-auth@main + with: + github_app_pem_file: ${{ secrets.GH_APP_PEM_FILE }} + github_app_installation_id: ${{ vars.GH_APP_INSTALLATION_ID }} + github_app_id: ${{ vars.GH_APP_ID }} + - name: Validate Terraform Configuration id: validate uses: CSVD/terraform-validate@main + env: + GITHUB_TOKEN: ${{ steps.github_credentials.outputs.github_token }} - name: Check Validation/Test Results if: always()