We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ba0bca commit e18b7c2Copy full SHA for e18b7c2
.github/workflows/Format.yml
@@ -22,6 +22,11 @@ jobs:
22
repository: ${{github.event.pull_request.head.repo.full_name}}
23
fetch-depth: 0
24
25
+ - name: Add upstream remote
26
+ run: |
27
+ git remote add upstream https://github.com/${{ github.repository }}
28
+ git fetch upstream
29
+
30
- name: Setup Julia
31
uses: julia-actions/setup-julia@v2
32
with:
@@ -40,7 +45,7 @@ jobs:
40
45
id: runic
41
46
run: |
42
47
set +e
43
- MERGE_BASE=$(git merge-base origin/${{ github.base_ref }} HEAD) || exit 2
48
+ MERGE_BASE=$(git merge-base upstream/${{ github.base_ref }} HEAD) || exit 1
44
49
DIFF=$(git runic --diff $MERGE_BASE)
50
EXIT_CODE=$?
51
0 commit comments