From 21b945ae55ddcf57223fe456d53928b9486efac8 Mon Sep 17 00:00:00 2001 From: esteinig Date: Sat, 10 Feb 2024 12:43:21 +1100 Subject: [PATCH] ci(action): patch release workflow --- .github/workflows/release.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61637e5..7796707 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,22 +31,7 @@ jobs: VERSION=$(cog bump --dry-run --auto) echo "version=$VERSION" >> "$GITHUB_OUTPUT" - - name: Create a new branch for the pull request - run: | - NEW_BRANCH="bot/release-${{ steps.release.outputs.version }}" - git checkout -b $NEW_BRANCH - - name: Auto bump version and commit run: | cog bump --auto - git push origin "bot/release-${{ steps.release.outputs.version }}" - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: 'Merge release ${{ steps.release.outputs.version }}' - title: '[RELEASE] Merge release ${{ steps.release.outputs.version }} into main' - body: 'This is an automated pull request to merge changes from the release/${{ steps.release.outputs.version }} into main' - branch: "bot/release-${{ steps.release.outputs.version }}" - base: main + git push origin "${{ steps.release.outputs.version }}"