Skip to content

Commit cb60428

Browse files
authored
fix: Update release.yml (#167)
Adds lines to clear the global config cache, and freshly add user.name and user.email for our bot.
1 parent 9fc320e commit cb60428

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ jobs:
3535
ref: dist # Checkout the dist branch
3636
token: ${{ secrets.GH_MERGE_TOKEN }} # Use the PAT
3737

38+
- name: Clear Git config cache (Global) # Keep this!
39+
run: |
40+
git config --global --unset-all user.name || true
41+
git config --global --unset-all user.email || true
42+
43+
- name: Set Git Identity # Keep this!
44+
run: |
45+
git config --global user.name 'googlemaps-bot'
46+
git config --global user.email '[email protected]'
47+
3848
- name: Merge main into dist
3949
run: |
4050
git fetch origin main:main # Fetch main

0 commit comments

Comments
 (0)