Skip to content

Commit 80198fa

Browse files
authored
Remove conditional checks for Google Cloud auth
1 parent d13fa9e commit 80198fa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@ jobs:
2020
ref: ${{ github.head_ref }}
2121
fetch-depth: 0
2222

23-
# Only run Google Cloud authentication and integration tests for pushes to main
2423
- name: Authenticate to Google Cloud
25-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
2624
uses: google-github-actions/auth@v1
2725
with:
2826
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
2927

3028
- name: Set up gcloud (for KMS client lib to auth)
31-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
3229
uses: google-github-actions/setup-gcloud@v1
3330
with:
3431
project_id: courtyard-frontend
@@ -55,9 +52,7 @@ jobs:
5552
TEST_KMS_KEY_NAME: ${{ secrets.KMS_KEY_NAME }}
5653
run: go test -v -timeout 120s ./... -short
5754

58-
# Only run integration tests for pushes to main
5955
- name: Run integration tests
60-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
6156
env:
6257
GOOGLE_CLOUD_PROJECT: courtyard-frontend
6358
TEST_KMS_KEY_NAME: ${{ secrets.KMS_KEY_NAME }}

0 commit comments

Comments
 (0)