Skip to content

Commit

Permalink
bumping action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrea authored Mar 21, 2024
1 parent e8ed32b commit a41da0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto_approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
8 changes: 4 additions & 4 deletions .github/workflows/tf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit a41da0f

Please sign in to comment.