We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5df7184 commit 6bd4042Copy full SHA for 6bd4042
scripts/lint-commit-message.sh
@@ -66,7 +66,7 @@ if [ "$#" -eq 1 ]; then
66
fi
67
lint_commit_message "$(sed -n '/# Please enter the commit message for your changes. Lines starting/q;p' "$1")"
68
else
69
- for COMMIT in $(git rev-list --no-merges origin/master..); do
+ for COMMIT in $(git rev-list --no-merges origin/${GITHUB_BASE_REF:-master}..); do
70
lint_commit_message "$(git log --format="%B" -n 1 ${COMMIT})"
71
done
72
0 commit comments