Skip to content

Commit eadfb99

Browse files
authored
Fixing pull rights
1 parent 3fed270 commit eadfb99

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/submodules_sync.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
name: 🔁 Gitmodule Sync
3030
runs-on: ubuntu-24.04
3131
steps:
32-
- uses: actions/checkout@v4
32+
- name: Chekout da repo
33+
uses: actions/checkout@v4
3334
with:
3435
submodules: recursive
3536
fetch-depth: 0
36-
3737
- name: Update Submodules
3838
run: |
3939
git submodule sync --recursive
@@ -43,13 +43,10 @@ jobs:
4343
cd src/content/docuception
4444
git pull https://github.com/Funasitien/docuception.git content
4545
cd ../../..
46-
47-
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
48-
git config --global user.name "${{ github.actor }}"
49-
50-
git add .
51-
git diff-index --quiet HEAD || git commit -m "🔁 Gitmodule Sync"
52-
git push
5346
env:
5447
GIT_USER: ${{ github.actor }}
5548
GIT_EMAIL: ${{ github.actor }}@users.noreply.github.com
49+
- name: Commit & Push changes
50+
uses: actions-js/push@master
51+
with:
52+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)