diff --git a/.github/workflows/latex.yaml b/.github/workflows/latex.yaml index a7cf9b1..b0241a7 100644 --- a/.github/workflows/latex.yaml +++ b/.github/workflows/latex.yaml @@ -38,6 +38,8 @@ jobs: - name: "Commit and Push main.pdf" run: | + git config user.name "$(git --no-pager log --format=format:'%an' -n 1)" + git config user.email "$(git --no-pager log --format=format:'%ae' -n 1)" git fetch if git branch -a | grep -q "remotes/origin/main-pdf"; then git checkout -t origin/main-pdf