Pin setup-gcloud to v0 instead of master (#12375)

* Pin setup-gcloud to v0 instead of master.

setup-gcloud will be updating the branch name from master to main in
a future release. Even though GitHub will establish redirects, this
will break any GitHub Actions workflows that pin to master. This PR
updates your GitHub Actions workflows to pin to v0, which is the
recommended best practice.

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
This commit is contained in:
Seth Vargo 2022-03-23 03:13:19 -04:00 committed by GitHub
parent 491fa02aa3
commit ea7f444167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ jobs:
steps: steps:
- name: Setup gcloud CLI - name: Setup gcloud CLI
uses: google-github-actions/setup-gcloud@master uses: google-github-actions/setup-gcloud@v0
with: with:
version: '290.0.1' version: '290.0.1'
service_account_key: ${{ secrets.GKE_SA_KEY_BASE64 }} service_account_key: ${{ secrets.GKE_SA_KEY_BASE64 }}