ci: simplify fetching branches for commit lint

we don't have to check the branches out if we use origin/<branch name> to refer to them.

Inspired with gitlab-web-ide!133 (a702afc2)

and the discussion: gitlab-web-ide!133 (comment 1256394605)

Merge request reports

Loading
Loading