Fix auto guide generation on master (#284)

* prevent warning on user guide creation: current user from gh actions vs. owner: detected dubious ownership in repository at '/__w/moderncv/moderncv'

* manipulate conditions for tests besides the master branch!

* add debug output lines

* <automated> build of user guide

* revert debug outputs and manipulation of branches for tests

* Revert "<automated> build of user guide"

This reverts commit 0da41eb48a.
This commit is contained in:
daniel 2026-05-25 23:04:48 +02:00 committed by GitHub
commit a1aac59a6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,6 +49,8 @@ jobs:
apt update && apt install git -y
git config --global user.name '${{ env.UG_AUTHOR }}'
git config --global user.email '${{ github.actor }}@users.noreply.github.com'
# prevent error message due to mismatch in users: process in gh actions vs. owner of repo
git config --global --add safe.directory /__w/moderncv/moderncv
ls -l
git add manual/moderncv_userguide.pdf
git commit -m "${{ env.UG_COMMIT_MESSAGE }}"