gitlint-action

Letting merge commits through without giving up commit standards

Contributor 2025 Open Source
gitlint-action Repository

The Challenge

gitlint enforces commit-message standards, but treating merge commits as violations meant CI failed exactly when teams could least afford it — during hotfixes.

The Solution

Contributed configuration support to allow merge commits while still linting everything else, so teams keep commit hygiene without blocking emergency fixes.

What I Built

Merge Commit Allowance

A configuration flag permits merge commits without failing CI.

Workflow Flexibility

Rebase-first teams can still take a merge commit when the situation calls for one.

Preserved Traceability

Hotfix timelines and commit lineage stay intact in history.

Outcome

  • Standards enforcement that doesn't fight incident response

Built With

Python GitHub Actions YAML