%YAML 1.2 --- # This is some metadata about the badge name: Is this thing on? (Updates-Testing I) description: You pushed your first bodhi update to the testing repositories. creator: ralph # This is a link to the discussion about adopting this as a for-real badge. discussion: https://github.com/oddshocks/badges/pull/3 # A link to the image for the badge image_url: https://badges.fedoraproject.org/pngs/is-this-thing-on-01.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: bodhi.update.request.testing # 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.update.user.name)s" # The user that was created. operation: count condition: greater than or equal to: 1 recipient: "%(msg.update.user.name)s"