Skip to content

Commit 4d989ce

Browse files
committed
primer: run against PR base, not master
1 parent 234a1bd commit 4d989ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/mypy_primer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
echo "new commit"
4343
git rev-list --format=%s --max-count=1 $GITHUB_SHA
4444
45-
MERGE_BASE=$(git merge-base $GITHUB_SHA origin/master)
45+
MERGE_BASE=$(git merge-base $GITHUB_SHA origin/${{ github.base_ref }})
4646
git checkout -b base_commit $MERGE_BASE
4747
echo "base commit"
4848
git rev-list --format=%s --max-count=1 base_commit

0 commit comments

Comments
 (0)