From 9eab6aa107d66f51b0c3b865000de3d33a96cde4 Mon Sep 17 00:00:00 2001 From: vipin-dfe Date: Tue, 10 Dec 2024 12:43:54 +0000 Subject: [PATCH] Fix CI destroy permission for review app Google authentication needs to be performed before the destroy workflow can make any changes to the gcloud infratructure. --- .github/workflows/destroy_review.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/destroy_review.yml b/.github/workflows/destroy_review.yml index 3c11166777..26bf70cab0 100644 --- a/.github/workflows/destroy_review.yml +++ b/.github/workflows/destroy_review.yml @@ -28,6 +28,11 @@ jobs: with: creds: ${{ secrets.AZURE_CREDENTIALS }} + - uses: google-github-actions/auth@v2 + with: + # project_id: get-into-teaching + workload_identity_provider: projects/574582782335/locations/global/workloadIdentityPools/get-into-teaching-app/providers/get-into-teaching-app + - name: Setup Environment Variables id: variables run: |