From f2195025ec9c59b1e319295a0ec7f235c236687b Mon Sep 17 00:00:00 2001 From: simonmicro Date: Wed, 9 Oct 2024 08:45:10 +0200 Subject: [PATCH] Revert "workflows: fix code style workflows user name (#410)" Because this will assign potentially a lot of additional code changes to only the pipeline triggerer. Example: Multiple deves are working on the same PR. One of them merges it in the end (or better a maintainer of us) and "commits" all the changes. This will cause in Git blame to only show him up. Also, filtering based on the actions email will not work anymore. Furthermore, people signing commits (like me) will cause a lot of unverified commits to pop up. This reverts commit 22e3bfa614fa50c327e98a878513b54282683ec5. --- .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 47fc5a51e..e4bee12e1 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 $(jq -r '.pusher.email' $GITHUB_EVENT_PATH) - git config --global user.name $(jq -r '.pusher.name' $GITHUB_EVENT_PATH) + git config --global user.email 'action@github.com' + git config --global user.name 'GitHub Action' git commit -am 'Applied formatting' - name: Push changes uses: ad-m/github-push-action@master