diff --git a/.github/workflows/submodule-update.yml b/.github/workflows/submodule-update.yml index e1ac1ab..991b8d8 100644 --- a/.github/workflows/submodule-update.yml +++ b/.github/workflows/submodule-update.yml @@ -34,9 +34,11 @@ jobs: - name: Commit and push changes if: env.changes == 'true' run: | - git config --global user.name 'github-actions[bot]' - git config --global user.email 'github-actions[bot]@users.noreply.github.com' + git config --global user.name 'NSPBot911' + git config --global user.email ${{ secrets.BOT_EMAIL }} git add --all git commit -m "Updated submodules" -m "Triggered by ${{ github.event.inputs.title }}" git pull origin main - git push origin main \ No newline at end of file + git push origin main + env: + GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} \ No newline at end of file