Use my Name to Push

This commit is contained in:
DerDavidBohl
2025-10-06 18:36:51 +02:00
parent 117ea230ac
commit 16377c3d81

View File

@@ -46,7 +46,7 @@ jobs:
echo "$GPG_PRIVATE_KEY" | gpg --batch --import
git config --global user.signingkey "$GPG_KEY_ID"
git config --global commit.gpgsign true
git config --global user.name "GitHub Actions"
git config --global user.name "David Bohl"
git config --global user.email "david@davidbohl.org"
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
@@ -61,8 +61,7 @@ jobs:
# Tag pushen
git push https://x-access-token:${GH_PAT}@github.com/${GITHUB_REPOSITORY}.git v${{ github.event.inputs.version }}
env:
GITHUB_GPG_KEY: ${{ env.GITHUB_GPG_KEY || 'default' }}
GH_PAT: ${{ secrets.GITHUB_TOKEN }}
GH_PAT: ${{ secrets.PUSH_PAT }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_REF_NAME: ${{ github.ref_name }}