From d3b2887c8e512849caa85eacfabc2724878e47b3 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Mon, 2 Sep 2024 14:44:36 +0200 Subject: [PATCH] Merge PR actions --- .github/workflows/scorpio_auto_update.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/scorpio_auto_update.yml b/.github/workflows/scorpio_auto_update.yml index f3b7fb2c6..4bc22832a 100644 --- a/.github/workflows/scorpio_auto_update.yml +++ b/.github/workflows/scorpio_auto_update.yml @@ -25,30 +25,11 @@ jobs: cat $FILE_PATH - - name: Create a new branch - run: | - BRANCH_NAME="update-scorpio-release-version-${{ env.RELEASE_VERSION }}" - git checkout -b $BRANCH_NAME - - - name: Commit changes - run: | - git config --local user.name "github-actions" - git config --local user.email "github-actions@github.com" - git add images/base-ide/package.json - git commit -m "Update file with release version ${{ env.RELEASE_VERSION }}" - - - name: Push changes to new branch - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - BRANCH_NAME="update-scorpio-release-version-${{ env.RELEASE_VERSION }}" - git push origin $BRANCH_NAME - - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: token: ${{ secrets.GITHUB_TOKEN }} branch: update-scorpio-release-version-${{ env.RELEASE_VERSION }} + delete-branch: true title: "Update scorpio with release version ${{ env.RELEASE_VERSION }}" - body: "This PR updates the verion of the scorpio plugin to the new release version ${{ env.RELEASE_VERSION }}." - base: master # Change this if your target branch is different \ No newline at end of file + body: "This PR updates the verion of the scorpio plugin to the new release version ${{ env.RELEASE_VERSION }}." \ No newline at end of file