File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 2222 repository : ${{github.event.pull_request.head.repo.full_name}}
2323 fetch-depth : 0
2424
25+ - name : Add upstream remote
26+ run : |
27+ git remote add upstream https://github.com/${{ github.repository }}
28+ git fetch upstream
29+
2530 - name : Setup Julia
2631 uses : julia-actions/setup-julia@v2
2732 with :
3944 - name : Run Runic
4045 id : runic
4146 run : |
42- set +e
43- MERGE_BASE=$(git merge-base origin/${{ github.base_ref }} HEAD) || exit 2
47+ set +e -x
48+ echo "base ref: ${{ github.base_ref }}"
49+ echo "upstream/master: $(git show-ref upstream/master)"
50+ echo "merge-base: $(git merge-base upstream/${{ github.base_ref }} HEAD)"
51+ MERGE_BASE=$(git merge-base upstream/${{ github.base_ref }} HEAD) || exit 1
52+ echo "merge base var: $MERGE_BASE"
4453 DIFF=$(git runic --diff $MERGE_BASE)
54+ echo "diff: $DIFF"
4555 EXIT_CODE=$?
4656
4757 echo "exit_code=$EXIT_CODE" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments