From db81b8cdde29e0a38b06908e5d1ebf2a5f7fd5c3 Mon Sep 17 00:00:00 2001 From: KP64 Date: Sun, 15 Dec 2024 15:32:02 +0100 Subject: [PATCH] fix: workflow no git user config --- .github/workflows/update-topology.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/update-topology.yml b/.github/workflows/update-topology.yml index 152f6d6..afcb2ff 100644 --- a/.github/workflows/update-topology.yml +++ b/.github/workflows/update-topology.yml @@ -34,6 +34,11 @@ jobs: - name: Move Topology run: sudo cp -r result/* assets/topology/ + - name: Setup git user + run: | + git config --global user.name "$(git --no-pager log --format=format:'%an' -n 1)" + git config --global user.email "$(git --no-pager log --format=format:'%ae' -n 1)" + - name: Compare and replace env: PR_URL: ${{github.event.pull_request.html_url}}