FAQ | This is a LIVE service | Changelog

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?

  1. Start a new branch from out of date main branch
  2. Add a new commit with valid commit message
  3. Push to remote and create a (draft) MR
  4. See commitlint job failing

📚 Any additional information?

Discussed: