Skip to content

Commit f8f396b

Browse files
committed
try fix
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
1 parent 30c9bbf commit f8f396b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/check-semver.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ jobs:
1919
image: docker.io/paritytech/ci-unified:bullseye-1.77.0-2024-04-10-v20240408
2020
steps:
2121
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
22+
with:
23+
ref: ${{ github.head_ref }} # Check out the actual changes - not the merge commit.
2224

2325
- name: extra git setup
2426
run: |
2527
git config --global --add safe.directory '*'
28+
git fetch --no-tags --no-recurse-submodules --depth=1 origin ${{ github.event.pull_request.base.sha }}
2629
BASE=$(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }})
2730
echo "BASE=$BASE" >> $GITHUB_ENV
28-
git fetch --no-tags --no-recurse-submodules --depth=1 origin $BASE
2931
git branch old $BASE
3032
3133
- name: Comment If Backport

0 commit comments

Comments
 (0)