diff --git a/.github/workflows/update-submodule-files.yml b/.github/workflows/update-submodule-files.yml index 0ddcf59..bba7c4b 100644 --- a/.github/workflows/update-submodule-files.yml +++ b/.github/workflows/update-submodule-files.yml @@ -26,9 +26,11 @@ jobs: run: python update_repo.py - name: Commit and push changes + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' git add . git commit -m "Update files based on submodule changes" - git push + git push origin HEAD:${{ github.event.pull_request.head.ref }}