From 22e3bfa614fa50c327e98a878513b54282683ec5 Mon Sep 17 00:00:00 2001 From: Ruffalo Lavoisier Date: Wed, 9 Oct 2024 13:17:30 +0900 Subject: [PATCH] workflows: fix code style workflows user name (#410) --- .github/workflows/astyle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/astyle.yml b/.github/workflows/astyle.yml index e4bee12e1..47fc5a51e 100644 --- a/.github/workflows/astyle.yml +++ b/.github/workflows/astyle.yml @@ -29,8 +29,8 @@ jobs: - name: Push changes if: steps.git-check.outputs.modified == 'true' run: | - git config --global user.email 'action@github.com' - git config --global user.name 'GitHub Action' + git config --global user.email $(jq -r '.pusher.email' $GITHUB_EVENT_PATH) + git config --global user.name $(jq -r '.pusher.name' $GITHUB_EVENT_PATH) git commit -am 'Applied formatting' - name: Push changes uses: ad-m/github-push-action@master