Skip to content

Commit e1e1e3b

Browse files
fix: higher permission token
1 parent 8836c21 commit e1e1e3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/update_submodules.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020

2121
- name: Update submodules
2222
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
GITHUB_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
2424
run: |
2525
git submodule update --init && git submodule update --remote
26-
git config user.name github-actions
27-
git config user.email [email protected]
26+
git config --global user.name "${{ secrets.NAME }}"
27+
git config --global user.email "${{ secrets.EMAIL }}"
2828
git add .
2929
git commit -m "Update submodules" || echo "No changes to commit"
3030
git push

0 commit comments

Comments
 (0)