From 932a9b0705efbca707f609930c67918ef162728f Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sun, 8 Feb 2026 13:52:17 +0100 Subject: [PATCH] fix: attribute action commits to the last commit author --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 6e902b2..132eb37 100644 --- a/action.yml +++ b/action.yml @@ -81,8 +81,8 @@ runs: shell: bash working-directory: ${{ inputs.working-directory }} run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config user.name "$(git log -1 --format='%an')" + git config user.email "$(git log -1 --format='%ae')" git add -A *.md **/*.md || true if git diff --cached --quiet; then echo "No changes to commit" -- 2.51.2