ci: Check commits leading to the merge base.
-
The
all_commits
check rebases the branch being tested onto main. This is brittle when the merge request is relative to some very old commit, as is the case when updating an old release. In these cases, the changes aren't even intended to be rebased on main so rebasing them on main makes no sense.-
Change the all_commits check to check commits up to the merge base.
-
Also increase the script's verbosity so it is clearer what is being checked.
-