chore: fix the generate action by passing the token (#11473)

This commit is contained in:
Shahed Nasser
2025-02-14 14:07:25 +02:00
committed by GitHub
parent bc02fde236
commit 6b7c447b29

View File

@@ -44,9 +44,11 @@ jobs:
run: yarn prep
- name: Commit and push changes (if any)
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "Shahed Nasser"
git config --global user.email "shahednasser@gmail.com"
if [[ -n $(git status --porcelain www/apps/book/generated www/apps/book/public www/apps/resources/generated) ]]; then
echo "Ran prep and generated files, committing and pushing..."