File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 22
22
repository : ${{github.event.pull_request.head.repo.full_name}}
23
23
fetch-depth : 0
24
24
25
+ - name : Add upstream remote
26
+ run : |
27
+ git remote add upstream https://github.com/${{ github.repository }}
28
+ git fetch upstream
29
+
25
30
- name : Setup Julia
26
31
uses : julia-actions/setup-julia@v2
27
32
with :
39
44
- name : Run Runic
40
45
id : runic
41
46
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"
44
53
DIFF=$(git runic --diff $MERGE_BASE)
54
+ echo "diff: $DIFF"
45
55
EXIT_CODE=$?
46
56
47
57
echo "exit_code=$EXIT_CODE" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments