From 7b30334c2e1dc089dcb1666094a14534b0537ed1 Mon Sep 17 00:00:00 2001 From: Danial Chitnis Date: Wed, 27 Nov 2024 22:53:13 +0000 Subject: [PATCH] Update build-push-next.yml --- .github/workflows/build-push-next.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-push-next.yml b/.github/workflows/build-push-next.yml index 5b841ed..f6dec3e 100644 --- a/.github/workflows/build-push-next.yml +++ b/.github/workflows/build-push-next.yml @@ -93,18 +93,10 @@ jobs: git commit -m "Automated: Direct commit of changes" || echo "No changes to commit" - # Create Pull Request only if there are differences - - name: Create Pull Request - run: | - if [ $(git rev-list --count next..bot) -gt 0 ]; then - gh pr create \ - --base next \ - --head bot \ - --title "Update from bot branch" \ - --body "Automated pull request to merge changes from the bot branch to next." - else - echo "No changes to create PR for" - fi + # auto commit + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: Auto updates after tests