File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 72
72
fi
73
73
echo "TEST_BASE=$(git rev-list -n$((${{ env.MAX_COUNT }} + 1)) --reverse HEAD $EXCLUDE_MERGE_BASE_ANCESTORS | head -1)" >> "$GITHUB_ENV"
74
74
- run : |
75
- git fetch origin master
75
+ git fetch origin "${GITHUB_BASE_REF}"
76
76
git config user.email "[email protected] "
77
77
git config user.name "CI"
78
78
- run : |
81
81
- name : Compile and run tests
82
82
run : |
83
83
# Run tests on commits after the last merge commit and before the PR head commit
84
- git rebase --exec "git merge --no-commit origin/master && ./.github/ci-test-each-commit-exec.sh && git reset --hard" ${{ env.TEST_BASE }}
84
+ git rebase --exec "git merge --no-commit origin/${GITHUB_BASE_REF} && ./.github/ci-test-each-commit-exec.sh && git reset --hard" ${{ env.TEST_BASE }}
85
85
86
86
macos-native-arm64 :
87
87
name : ${{ matrix.job-name }}
You can’t perform that action at this time.
0 commit comments