Commitlint job failing when out of date with main branch
👓 What did you see?
Even though having no commitlint violations, commitlint CI job failing when not up to date with the main branch
✅ What did you expect to see?
The job to pass when no commitlint violations are found
💻 Where does this happen?
GitLab CI, only when creating a merge request
🔬 How do I recreate this?
- Start a new branch from out of date
mainbranch - Add a new commit with valid commit message
- Push to remote and create a (draft) MR
- See
commitlintjob failing
📚 Any additional information?
Discussed: