From a1aac59a6f2852e5ee534422c5a59be8c102b7ba Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 25 May 2026 23:04:48 +0200 Subject: [PATCH] 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 * build of user guide * revert debug outputs and manipulation of branches for tests * Revert " build of user guide" This reverts commit 0da41eb48a93dfbb33ee97827908f50261a8dc1e. --- .github/workflows/build-userguide-pdf.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-userguide-pdf.yml b/.github/workflows/build-userguide-pdf.yml index 665b93c..d49c04f 100644 --- a/.github/workflows/build-userguide-pdf.yml +++ b/.github/workflows/build-userguide-pdf.yml @@ -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 }}"