Skip to content

Commit 2408451

Browse files
authored
chore(ci): update submodule with token (#198)
1 parent 2d46e6f commit 2408451

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/process-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ jobs:
2222

2323
- run: git checkout chore/release
2424

25-
- run: git submodule update --init --recursive
25+
- run: |
26+
git config --file .gitmodules --get-regexp url | while read url; do
27+
git config --file=.gitmodules $(echo "$url" | sed -E "s/[email protected]:|https:\/\/github.com\//https:\/\/${{ secrets.TOKEN_RELEASE_BOT }}:${{ secrets.TOKEN_RELEASE_BOT }}@github.com\//")
28+
done
29+
git submodule sync
30+
git submodule update --init --recursive
2631
2732
- name: Setup
2833
id: setup

0 commit comments

Comments
 (0)