From a41da0f8d8a5a76902d268adab0c00568d3d3d9a Mon Sep 17 00:00:00 2001 From: Aaron Rea Date: Thu, 21 Mar 2024 08:52:34 -0500 Subject: [PATCH] bumping action versions --- .github/workflows/auto_approve.yml | 2 +- .github/workflows/tf.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/auto_approve.yml b/.github/workflows/auto_approve.yml index 8ae2ed1..8a1183a 100644 --- a/.github/workflows/auto_approve.yml +++ b/.github/workflows/auto_approve.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Auto approve PRs based on author - uses: hmarr/auto-approve-action@v2.0.0 + uses: hmarr/auto-approve-action@v4.0.0 if: github.actor == 'scalesec-automation-bot' with: github-token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/tf.yml b/.github/workflows/tf.yml index 681db15..e67716e 100644 --- a/.github/workflows/tf.yml +++ b/.github/workflows/tf.yml @@ -28,13 +28,13 @@ jobs: # pull prod file if we are on main otherwise dev # GH Action error: Terraform lint and apply # changed 'google-github-actions/setup-gcloud@master' ---> 'google-github-actions/setup-gcloud@v0' - - uses: google-github-actions/setup-gcloud@v0 + - uses: google-github-actions/setup-gcloud@v2 if: github.ref == 'refs/heads/main' with: service_account_key: ${{ secrets.SA_VARS_PROD }} export_default_credentials: false - - uses: google-github-actions/setup-gcloud@v0 + - uses: google-github-actions/setup-gcloud@v2 if: github.ref != 'refs/heads/main' with: service_account_key: ${{ secrets.SA_VARS_DEV }} @@ -48,13 +48,13 @@ jobs: if: github.ref != 'refs/heads/main' run: gsutil cp gs://${{ secrets.GCP_TFVAR_BUCKET_DEV }}/terraform.tfvars ./terraform.tfvars - - uses: google-github-actions/setup-gcloud@v0 + - uses: google-github-actions/setup-gcloud@v2 with: project_id: ${{ secrets.GCP_PROJECT_ID }} service_account_key: ${{ secrets.GCP_SA_KEY }} export_default_credentials: true - - uses: hashicorp/setup-terraform@v1 + - uses: hashicorp/setup-terraform@v3 - run: gcloud info - name: Terraform fmt