%YAML 1.2 --- # Retired due to the following issues: # 1. If the message contains commits from multiple authors, commits count per # author is not available. # 2. Even if commit count per author was available, there is no way to evaluate # criteria separately for each author. # 3. Synchronizing forks leads to the same commits being counted more than once. # This is some metadata about the badge name: Long Life to Pagure (Pagure III) description: Pushed 50 commits to a Pagure repository. creator: robyduck # This is a link to the discussion about adopting this as a for-real badge. discussion: https://pagure.io/design/issue/434 # A link to the image for the badge image_url: https://badges.fedoraproject.org/pngs/pagure-long-life-50.png # That's us! issuer_id: fedora-project # We'll perform our more costly check (defined below) only when # we receive messages that match this 'trigger' trigger: topic: pagure.git.receive # Once the check has been triggered, this defines what we actually check. criteria: datanommer: filter: topics: - "%(topic)s" # The topic of the message that triggered us. users: - "%(msg.authors)s" operation: count condition: greater than or equal to: 50 recipient: "%(msg.authors)s"