Gitlab CI : git log limited to 10 commits

Gitlab CI : git log limited to 10 commits

I’m trying to create release notes in a Gitlab CI job, but the git log command seems to be limited to ten commits.

So when I push ore merge more than ten commits, I have this error : fatal: Invalid revision range. My command is git log ${CI_COMMIT_BEFORE_SHA}..HEAD