From 96fc2200288fc0e976f15ce78f8e0c98aa677014 Mon Sep 17 00:00:00 2001 From: losuler Date: Sun, 8 May 2022 02:09:26 +1000 Subject: [PATCH] feat: run commands on new branch --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4639609..9329f28 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,6 +20,7 @@ jobs: - name: Update version number run: | + git checkout -b add-new-release && #sed "s/PREV_RELEASE=.*/PREV_RELEASE=\"$(echo \"${{env.version}}\" | \ sed "s/PREV_RELEASE=.*/PREV_RELEASE=\"$(echo 8.2 | \ awk '{print $1}')\"/" \ @@ -31,6 +32,7 @@ jobs: #if: contains(steps.update.outputs.STATUS, '==') uses: repo-sync/pull-request@v2 with: + source_branch: "add-new-release" destination_branch: "master" github_token: ${{ secrets.GITHUB_TOKEN }} pr_allow_empty: true