From 0c5ce353b119bc0e5c82a39523d1d0e70e9d116e Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 23 Feb 2024 17:05:26 +0100 Subject: [PATCH] [ci skip] use github.actor --- .github/workflows/flathub.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/flathub.yml b/.github/workflows/flathub.yml index 38f5523dc..49a993f54 100644 --- a/.github/workflows/flathub.yml +++ b/.github/workflows/flathub.yml @@ -62,8 +62,8 @@ jobs: rm yq - name: Commit and push run: | - git config --global user.email "${{ github.event.sender.email }}" - git config --global user.name "${{ github.event.sender.name }}" + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" git stage . git commit -m "Prepare release ${{needs.get-version.outputs.semVerStr}}" git push