// Copyright 2025 Zentrum für Digitale Souveränität der Öffentlichen Verwaltung (ZenDiS) GmbH. // SPDX-License-Identifier: MIT import { Callout } from 'nextra/components' # Commits <Callout type="default"> Check type: `COMMITS` </Callout> 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. ```yaml filename=".badge-api.yaml" copy - 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.