Skip to content

Commit 5e6d9bc

Browse files
ci: Pin setup-gcloud actions to v0 instead of master (#2434)
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
1 parent 9a4bd63 commit 5e6d9bc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/java_master_only.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v2
2121
with:
2222
submodules: 'true'
23-
- uses: google-github-actions/setup-gcloud@master
23+
- uses: google-github-actions/setup-gcloud@v0
2424
with:
2525
version: '290.0.1'
2626
export_default_credentials: true

.github/workflows/master_only.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
username: ${{ secrets.DOCKERHUB_USERNAME }}
185185
password: ${{ secrets.DOCKERHUB_TOKEN }}
186186
- name: Set up Cloud SDK
187-
uses: google-github-actions/setup-gcloud@master
187+
uses: google-github-actions/setup-gcloud@v0
188188
with:
189189
project_id: ${{ secrets.GCP_PROJECT_ID }}
190190
service_account_key: ${{ secrets.GCP_SA_KEY }}

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
username: ${{ secrets.DOCKERHUB_USERNAME }}
6565
password: ${{ secrets.DOCKERHUB_TOKEN }}
6666
- name: Set up Cloud SDK
67-
uses: google-github-actions/setup-gcloud@master
67+
uses: google-github-actions/setup-gcloud@v0
6868
with:
6969
project_id: ${{ secrets.GCP_PROJECT_ID }}
7070
service_account_key: ${{ secrets.GCP_SA_KEY }}
@@ -107,7 +107,7 @@ jobs:
107107
VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}
108108
steps:
109109
- uses: actions/checkout@v2
110-
- uses: google-github-actions/setup-gcloud@master
110+
- uses: google-github-actions/setup-gcloud@v0
111111
with:
112112
version: '290.0.1'
113113
export_default_credentials: true

0 commit comments

Comments
 (0)