Skip to content

Commit

Permalink
ci: DEV-2902: Merge base branch on submodules bump (HumanSignal#2752)
Browse files Browse the repository at this point in the history
ci: DEV-2902: Merge basebranch on submodules bump
  • Loading branch information
nikitabelonogov authored Jul 27, 2022
1 parent 9bb75ac commit 976ccac
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/upstream_repo_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,16 @@ jobs:
set -xeuo pipefail
if grep -q '^ls-release/.*$' <<< '${{ github.event.client_payload.base_branch_name }}'; then
git checkout '${{ github.event.client_payload.base_branch_name }}'
base_branch='${{ github.event.client_payload.base_branch_name }}'
else
git checkout '${{ github.event.repository.default_branch }}'
base_branch='${{ github.event.repository.default_branch }}'
fi
git checkout "${base_branch}"
git checkout '${{ github.event.client_payload.branch_name }}' || true
git checkout -b '${{ github.event.client_payload.branch_name }}' || true
git merge origin/develop --strategy=ours --message="Merge branch ${base_branch} into ${{ github.event.client_payload.branch_name }}"
if [[ "${{ github.event.client_payload.repo_name }}" == */dm2* ]]; then
module_dist="${{ env.STATIC_DIST }}/dm"
Expand Down

0 comments on commit 976ccac

Please sign in to comment.