fix(actions/flux-localhost-build): fix email

This commit is contained in:
JJGadgets
2024-05-20 06:44:55 +08:00
parent 59294bcc64
commit 1e7facf3a2

View File

@@ -61,7 +61,7 @@ jobs:
run: |
git config push.autoSetupRemote true
git config user.name "${{ secrets.BOT_USERNAME }}[bot]"
git config user.email "${{ secrets.BOT_USERNAME }} <${{ secrets.BOT_API_ID }}+${{ secrets.BOT_USERNAME }}[bot]@users.noreply.github.com>" # get $BOT_API_ID from `curl -s 'https://api.github.com/users/$(BOT_USERNAME)%5Bbot%5D' | yq .id`
git config user.email "${{ secrets.BOT_API_ID }}+${{ secrets.BOT_USERNAME }}[bot]@users.noreply.github.com" # get $BOT_API_ID from `curl -s 'https://api.github.com/users/$(BOT_USERNAME)%5Bbot%5D' | yq .id`
git checkout -b ${{ env.BRANCH }} main
#git checkout ${{ env.BRANCH }} || git checkout -b ${{ env.BRANCH }} main