We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c9bbf commit f8f396bCopy full SHA for f8f396b
1 file changed
.github/workflows/check-semver.yml
@@ -19,13 +19,15 @@ jobs:
19
image: docker.io/paritytech/ci-unified:bullseye-1.77.0-2024-04-10-v20240408
20
steps:
21
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
22
+ with:
23
+ ref: ${{ github.head_ref }} # Check out the actual changes - not the merge commit.
24
25
- name: extra git setup
26
run: |
27
git config --global --add safe.directory '*'
28
+ git fetch --no-tags --no-recurse-submodules --depth=1 origin ${{ github.event.pull_request.base.sha }}
29
BASE=$(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }})
30
echo "BASE=$BASE" >> $GITHUB_ENV
- git fetch --no-tags --no-recurse-submodules --depth=1 origin $BASE
31
git branch old $BASE
32
33
- name: Comment If Backport
0 commit comments