From 89f3a810ec954210b851f2c0184713c9fac29259 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 9 Jun 2024 17:04:19 -0700 Subject: [PATCH] Fix error getting config 'user.name' --- .github/workflows/doc.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 43eb5a9d..0d5a2672 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -27,6 +27,7 @@ jobs: sudo apt install doxygen pip install mkdocs mkdocs-material mkdocstrings pymdown-extensions mike cmake -E make_directory ${{runner.workspace}}/build + git config --global user.name "$(git --no-pager log --format=format:'%an' -n 1)" - name: Build working-directory: ${{runner.workspace}}/build