From 202eed57fe9b54bad340c8ad3ca76a8be00ef359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Mital?= <7765376+herr-bubu@users.noreply.github.com> Date: Sun, 24 Mar 2024 10:37:43 +0100 Subject: [PATCH] Fix bump version step (#142) * set upstream * fix env variables * add GH_TOKEN --- .github/workflows/publish-on-tag.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-on-tag.yml b/.github/workflows/publish-on-tag.yml index 750a78e1c1..40bddeb98b 100644 --- a/.github/workflows/publish-on-tag.yml +++ b/.github/workflows/publish-on-tag.yml @@ -99,6 +99,8 @@ jobs: git commit -am "Bump version to $VERSION" git push --set-upstream origin bump-version-to-$VERSION - name: Create Pull Request + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr create --title "Bump Version to $VERSION" --body "Bump Version to $VERSION" --label "bump-version-pr" --head "${GITHUB_REF#refs/heads/}" --base main2 - name: Push next version release uses: pascalgn/automerge-action@v0.14.3