Commits

đź’ˇ

Check type: COMMITS

This check queries the GitLab API and counts the number of commits in a given time range. The check passes if the number of commits is greater than or equal to the minimum threshold.

.badge-api.yaml
- type: COMMITS
  description: "Describe the check in context of your badge and level"
  threshold:
    timeRangeInMonths: 6
    min: 5

Background

Counting commits within a time range can be part of measuring a project’s activity and maintenance. Frequent commits indicate active development, bug fixes, and ongoing improvements. A high commit count can reflect engaged contributors and project evolution, while fewer commits may signal stagnation.