From 40564e9273ddda1f8408b27a09cfef5e78d36c6e Mon Sep 17 00:00:00 2001 From: Diego Marcos Segura Date: Wed, 25 Jun 2025 18:40:06 -0700 Subject: [PATCH] Fix build workflow --- .github/workflows/build-dist.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-dist.yml b/.github/workflows/build-dist.yml index c698f2c..6824c47 100644 --- a/.github/workflows/build-dist.yml +++ b/.github/workflows/build-dist.yml @@ -6,7 +6,7 @@ on: - main jobs: - build-and-deploy: + build-dist: runs-on: ubuntu-latest steps: @@ -32,9 +32,13 @@ jobs: private_key: ${{ secrets.APP_PRIVATE_KEY }} - name: Commit and push changes + env: + GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git add . - git commit -m "Bump dist build" + git commit -m "Bump dist build" || echo "No build changes" git push origin main git rev-parse HEAD > dist/commit.txt SHA=$(git rev-parse HEAD)