Skip to content

Commit 4a6ab62

Browse files
authored
ci(push): Fix sizes upload if there is no changes (2.x) (#9839)
* ci(push): Fix sizes upload if there is no changes * ci(bot): Fix GitHub actions bot commit info
1 parent a6df1f5 commit 4a6ab62

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/lib.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ jobs:
109109

110110
- name: Push to github repo
111111
run: |
112-
git config user.name github-actions
113-
git config user.email github-actions@github.com
112+
git config user.name "github-actions[bot]"
113+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
114114
git add ${{ env.RESULT_LIBRARY_TEST_FILE }}
115115
git commit -m "Generated External Libraries Test Results"
116116
git push origin HEAD:gh-pages
117-
117+
118118
event_file:
119119
name: "Event File"
120120
if: |
@@ -126,4 +126,4 @@ jobs:
126126
uses: actions/upload-artifact@v2
127127
with:
128128
name: Event File
129-
path: ${{github.event_path}}
129+
path: ${{github.event_path}}

.github/workflows/push.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,10 @@ jobs:
145145

146146
- name: Commit json files to gh-pages if on release branch
147147
if: github.event_name == 'push' && github.ref == 'refs/heads/release/v2.x'
148+
continue-on-error: true
148149
run: |
149-
git config user.name github-actions
150-
git config user.email github-actions@github.com
150+
git config user.name "github-actions[bot]"
151+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
151152
git add --all
152153
git commit -m "Updated 2.x cli compile json files"
153154
git push origin HEAD:gh-pages

0 commit comments

Comments
 (0)