Skip to content

Commit 921e1b3

Browse files
committed
push related changes
1 parent 34c287b commit 921e1b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/update-submodules.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ jobs:
9292
git add lib
9393
git commit -m "chore: update git submodules to latest version"
9494
95+
- name: Configure Git to use PAT for push
96+
if: steps.check_updates.outputs.has_changes == 'true'
97+
run: |
98+
git remote set-url origin https://x-access-token:${{ secrets.GH_WORKFLOW_PAT }}@github.com/${{ github.repository }}
99+
95100
- name: Push changes
96101
if: steps.check_updates.outputs.has_changes == 'true'
97102
run: |

0 commit comments

Comments
 (0)