We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4accea7 commit 987b913Copy full SHA for 987b913
check_license/check_headers.sh
@@ -69,7 +69,7 @@ done
69
70
if [ $CHECK_ALL -eq 0 ]; then
71
CURRENT_COMMIT=$($GIT --no-pager log --pretty=%H -1)
72
- MERGE_BASE=$($GIT merge-base HEAD origin/master 2>/dev/null)
+ MERGE_BASE=$($GIT merge-base HEAD origin/main 2>/dev/null)
73
[ -z $MERGE_BASE ] && \
74
MERGE_BASE=$($GIT --no-pager log --pretty="%cN:%H" | grep GitHub | head -n1 | cut -d: -f2)
75
[ -z $MERGE_BASE -o "$CURRENT_COMMIT" = "$MERGE_BASE" ] && \
0 commit comments