I use this in my GH-Action Workflow:
APP="myciapp"
APP_USER_ID="$(curl -SsL 'https://api.github.com/users/${APP}%5Bbot%5D' | jq '.id' -r)"
git config --global user.name "${APP}[bot]"
git config --global user.email "${APP_USER_ID}+${APP}[bot]@users.noreply.github.com"