Skip to content

Commit

Permalink
Consolidate branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Dec 11, 2024
1 parent 09e88ec commit 565b970
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,19 @@ jobs:
git submodule update --recursive --remote
cd ./.veda/ui
git fetch --tags
git tag
git checkout ${{ env.VERSION }}
cd -
git add .veda/ui
git commit -m "Update submodule to version ${{ env.VERSION }}"
- name: Push Changes
run: |
git checkout -b ${{ env.VERSION }}
git push origin ${{ env.VERSION }}
git checkout -b use-${{ env.VERSION }}
git push origin use-${{ env.VERSION }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: "Update UI to ${{ env.VERSION }}"
title: "Update submodule to version${{ env.VERSION }}"
body: "This PR updates the submodule to version `${{ env.VERSION }}`."
branch: update-to-${{ env.VERSION }}
branch: use-${{ env.VERSION }}

0 comments on commit 565b970

Please sign in to comment.