From d020a12c40f5d8bfb09bf0e9809d859a2d02ede1 Mon Sep 17 00:00:00 2001 From: veenm Date: Wed, 12 Mar 2025 12:32:54 +0000 Subject: [PATCH] Update .github/workflows/increase-version.yml --- .github/workflows/increase-version.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/increase-version.yml b/.github/workflows/increase-version.yml index bd6ce3f..33581c9 100644 --- a/.github/workflows/increase-version.yml +++ b/.github/workflows/increase-version.yml @@ -24,6 +24,11 @@ jobs: npm version patch --no-git-tag-version git add package.json package-lock.json git commit -m "chore: bump version [skip ci]" || echo "No changes to commit" + + # Pull the latest changes from the remote main branch before pushing + git pull origin main --rebase + + # Push changes to remote main branch git push origin main - name: Trigger second pipeline