From 881f556534ec7b73cd03a0bc0d3e811e9fa59420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mauro=20=F0=9F=A4=99?= <91018726+mauro-balades@users.noreply.github.com> Date: Sun, 1 Sep 2024 11:18:27 -0700 Subject: [PATCH] Update alpha.yml --- .github/workflows/alpha.yml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 9fa90f7f3..8e3c745ac 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -491,23 +491,12 @@ jobs: git add Casks/zen-browser.rb git commit -m "Updated Homebrew Cask" - - name: Create pull request - uses: peter-evans/create-pull-request@v6 - env: - GIT_TRACE: 1 - GIT_CURL_VERBOSE: 1 + - uses: stefanzweifel/git-auto-commit-action@v4 + if: ${{ github.event.inputs.update_version == 'true' }} with: - token: ${{ secrets.DEPLOY_KEY }} - commit-message: 🚀 Update to version ${{ needs.build-data.outputs.version }} - title: 🚀 Update to version ${{ needs.build-data.outputs.version }} - body: | - This PR updates the Zen Browser Homebrew Cask to version ${{ needs.build-data.outputs.version }}. - - @mauro-balades - branch: brew-update-to-${{ needs.build-data.outputs.version }} - base: master - git-token: ${{ secrets.DEPLOY_KEY }} - delete-branch: true + commit_message: 🔖 Update version to ${{ steps.data.outputs.version }} for homebrew! + commit_user_name: Zen Browser Robot + commit_user_email: zen-browser-bot@users.noreply.github.com - name: Clean up run: |