Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Aug 15, 2024
1 parent 04c1def commit 6099745
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@ jobs:
ref: ${{ github.head_ref }} # Check out the actual changes - not the merge commit.

- name: extra git setup
env:
BASE_BRANCH: ${{ github.base_ref }}
run: |
set -eux
git config --global --add safe.directory '*'
echo "hi"
git fetch --no-tags --no-recurse-submodules --depth=1 origin ${{ github.event.pull_request.base.sha }}
git fetch --no-tags --no-recurse-submodules --depth=1 origin master
echo "hi2 'git merge-base origin/master HEAD --fork-point'"
git merge-base origin/master HEAD --fork-point
git merge-base --fork-point origin/$BASE_BRANCH
echo "hi3"
BASE=$(git merge-base origin/master HEAD --fork-point)
BASE=$(git merge-base --fork-point origin/$BASE_BRANCH)
echo "Setting BASE to $BASE"
git fetch --no-tags --no-recurse-submodules --depth=1 origin $BASE
echo "Fetched base, branching off"
Expand Down

0 comments on commit 6099745

Please sign in to comment.