Skip to content

Commit 2d2d456

Browse files
committed
Update google-github-actions/auth + delete-preview
1 parent 6d7462c commit 2d2d456

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/delete-preview.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ jobs:
1313
with:
1414
ref: gh-pages
1515

16+
- name: Configure Git identity
17+
run: |
18+
git config --global user.name "github-actions[bot]"
19+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
20+
1621
- name: Delete PR directory
1722
run: |
1823
PR_DIR=${{ github.event.pull_request.number }}

.github/workflows/deploy-cloud-function.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- 'preview/**'
2121
2222
- id: 'auth'
23-
uses: 'google-github-actions/auth@v0'
23+
uses: 'google-github-actions/auth@v2.1.6'
2424
with:
2525
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
2626

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
sed -i 's|search/search_index.json|https://storage.googleapis.com/cp-algorithms/search_index.json|g' public/assets/javascripts/*.js
3939
4040
- id: 'auth'
41-
uses: 'google-github-actions/auth@v0'
41+
uses: 'google-github-actions/auth@v2.1.6'
4242
with:
4343
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
4444

0 commit comments

Comments
 (0)