From 4961fc28c93e35246df29e50a133a643ef8a9d4a Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Fri, 13 Dec 2024 14:41:39 +0530 Subject: [PATCH] chore: fix workflow permission --- .github/workflows/update-stable.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-stable.yml b/.github/workflows/update-stable.yml index 51c86454..d6d00f69 100644 --- a/.github/workflows/update-stable.yml +++ b/.github/workflows/update-stable.yml @@ -160,20 +160,20 @@ jobs: run: | git add package.json pnpm-lock.yaml git commit -m "chore: bump version to ${{ steps.bump_version.outputs.new_version }}" - git push origin main + git push main - name: Update Stable Branch run: | # Ensure stable branch exists git checkout stable 2>/dev/null || git checkout -b stable git merge main --no-ff -m "chore: merge main into stable for version ${{ steps.bump_version.outputs.new_version }}" - git push origin stable + git push stable - name: Create and Push Tag run: | VERSION="v${{ steps.bump_version.outputs.new_version }}" git tag -a "$VERSION" -m "Release $VERSION" - git push origin "$VERSION" + git push "$VERSION" # - name: Create GitHub Release # env: