From f68e24301570e3e73987e7ecd54104a8933bba6f Mon Sep 17 00:00:00 2001 From: "a.spatharas" Date: Tue, 23 Sep 2025 21:29:23 +0300 Subject: [PATCH 1/2] fix(actions): fix pushing after auto bump --- actions/npm/bump-pr-version/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actions/npm/bump-pr-version/action.yml b/actions/npm/bump-pr-version/action.yml index c2f2fd5..ca91c9e 100644 --- a/actions/npm/bump-pr-version/action.yml +++ b/actions/npm/bump-pr-version/action.yml @@ -19,6 +19,7 @@ runs: uses: actions/checkout@v4 with: fetch-depth: 0 + ref: ${{ github.head_ref }} - name: Setup Node.js uses: actions/setup-node@v3 @@ -72,5 +73,5 @@ runs: git add package.json package-lock.json || true git commit -m "chore(release): bump $BUMP version to $NEW_VERSION [skip ci]" || echo "No version changes detected" - git push + git push origin HEAD:${{ github.head_ref }} working-directory: ${{ inputs.working-directory }} \ No newline at end of file From 98a1a64591ac3f3fae4615f7a48e3b63a463e3ce Mon Sep 17 00:00:00 2001 From: "a.spatharas" Date: Tue, 23 Sep 2025 21:29:52 +0300 Subject: [PATCH 2/2] chore(ci): bump version and changelog --- CHANGELOG.md | 3 +++ VERSION | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 712c2ac..1d5a1fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [0.10.2] + - Fix version pushing of auto bumping + ## [0.10.1] - Do not cd to working directory diff --git a/VERSION b/VERSION index 71172b4..42624f3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.1 \ No newline at end of file +0.10.2 \ No newline at end of file