-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
849de22
commit 84ac580
Showing
1 changed file
with
0 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,23 +33,6 @@ jobs: | |
timeout-minutes: 10 | ||
run: git fetch origin +refs/heads/*:refs/remotes/origin/* | ||
|
||
- name: Check if ${{ env.BASE_BRANCH }} branch exists | ||
id: check_next_branch | ||
run: | | ||
if git show-ref --quiet refs/remotes/origin/${{ env.BASE_BRANCH }}; then | ||
echo "${{ env.BASE_BRANCH }} branch already exists." | ||
echo "branch_exists=true" >> $GITHUB_OUTPUT | ||
else | ||
echo "${{ env.BASE_BRANCH }} branch does not exist." | ||
echo "branch_exists=false" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Create ${{ env.BASE_BRANCH }} branch if it doesn't exist | ||
if: steps.check_next_branch.outputs.branch_exists == 'false' | ||
run: | | ||
git checkout -b ${{ env.BASE_BRANCH }} | ||
git push origin ${{ env.BASE_BRANCH }} | ||
- name: Update Submodules | ||
id: submodules | ||
uses: sgoudham/[email protected] | ||
|