ci(no-release): update commitlint to use scripted approach
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
This commit updates the commitlint job to use a scripted approach so that the job causes less blunt-force trauma to committers. It not uses the summary of the MR when the MR is set to squash instead of running on every commit individually.
As suggested by Florian, with a big thanks to the cli team!
Edited by 🤖 GitLab Bot 🤖