From 670c97e0e2c786ae0a8a75c14a168767186ed670 Mon Sep 17 00:00:00 2001 From: Carlo Dandan Date: Sat, 20 Apr 2024 13:40:54 +0800 Subject: [PATCH] builder: Switch to different way of setting git identity. --- .github/workflows/Recovery-Builder-PBRP.yml | 4 ++-- .github/workflows/Recovery-Builder-TWRP.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Recovery-Builder-PBRP.yml b/.github/workflows/Recovery-Builder-PBRP.yml index ef6903f..9eee5d9 100644 --- a/.github/workflows/Recovery-Builder-PBRP.yml +++ b/.github/workflows/Recovery-Builder-PBRP.yml @@ -98,8 +98,8 @@ jobs: run: | mkdir android-recovery cd android-recovery - git config --global user.name "Carlo Dandan" - git config --global user.email "jasminecarlo01@gmail.com" + git config --global user.name "${{ github.actor }}" + git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" repo init --depth=1 -u https://github.com/PitchBlackRecoveryProject/manifest_pb.git -b ${{ github.event.inputs.MANIFEST_BRANCH }} - name: Repo Sync diff --git a/.github/workflows/Recovery-Builder-TWRP.yml b/.github/workflows/Recovery-Builder-TWRP.yml index 15f731f..3a2af97 100644 --- a/.github/workflows/Recovery-Builder-TWRP.yml +++ b/.github/workflows/Recovery-Builder-TWRP.yml @@ -106,8 +106,8 @@ jobs: run: | mkdir android-recovery cd android-recovery - git config --global user.name "Carlo Dandan" - git config --global user.email "jasminecarlo01@gmail.com" + git config --global user.name "${{ github.actor }}" + git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" repo init --depth=1 -u ${{ steps.manifest.outputs.value }} -b ${{ github.event.inputs.MANIFEST_BRANCH }} sed -i '//d' .repo/manifests/remove-minimal.xml