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
main
branch - Add a new commit with valid commit message
- Push to remote and create a (draft) MR
- See
commitlint
job failing
📚 Any additional information?
Discussed: