Skip to content

Commit

Permalink
change cred
Browse files Browse the repository at this point in the history
  • Loading branch information
alevenberg committed Nov 7, 2023
1 parent 3cee500 commit f242466
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/update-googleapis-sha.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: "Update the google apis"

on: push


# on:
# # Create the PR once a week at 12:00 on Monday.
# schedule:
# - cron: '0 12 * * MON'
# push:
# branches: [ 'ci-gha-googleapis**' ]

permissions:
contents: write
pull-requests: write
Expand All @@ -27,11 +26,10 @@ jobs:
- name: Get current date
run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: 'Authenticate to GCP'
uses: 'google-github-actions/auth@v1'
uses: google-github-actions/auth@v1
with:
create_credentials_file: true
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}'
service_account: '${{ secrets.SA_EMAIL }}'
credentials_json: ${{ secrets.BUILD_CACHE_KEY }}
- name: 'Set up Cloud SDK'
uses: google-github-actions/setup-gcloud@v1
with:
Expand Down

0 comments on commit f242466

Please sign in to comment.