Skip to content

Commit f8765d4

Browse files
authored
mypy_primer: use target base branch for finding merge base (#14595)
1 parent 50717cf commit f8765d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/mypy_primer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
echo "new commit"
4949
git rev-list --format=%s --max-count=1 $GITHUB_SHA
5050
51-
MERGE_BASE=$(git merge-base $GITHUB_SHA origin/master)
51+
MERGE_BASE=$(git merge-base $GITHUB_SHA origin/$GITHUB_BASE_REF)
5252
git checkout -b base_commit $MERGE_BASE
5353
echo "base commit"
5454
git rev-list --format=%s --max-count=1 base_commit

0 commit comments

Comments
 (0)