Skip to content

Commit

Permalink
Merge PR actions
Browse files Browse the repository at this point in the history
  • Loading branch information
iyannsch committed Sep 2, 2024
1 parent 7b65f39 commit d3b2887
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/scorpio_auto_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
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
body: "This PR updates the verion of the scorpio plugin to the new release version ${{ env.RELEASE_VERSION }}."

0 comments on commit d3b2887

Please sign in to comment.