From e2f1f8e411464d13bad091b7f2b3da31a6147841 Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Mar 27 2018 10:38:08 +0000 Subject: Fix the rules for the delivery badge. Signed-off-by: Sayan Chowdhury --- diff --git a/rules/pkgdb-hatchling-i.yml b/rules/pkgdb-hatchling-i.yml index 5a2a77d..0c969f7 100644 --- a/rules/pkgdb-hatchling-i.yml +++ b/rules/pkgdb-hatchling-i.yml @@ -12,7 +12,7 @@ issuer_id: fedora-project # We'll perform our more costly check (defined below) # only when we receive messages that match this trigger. trigger: - topic: pkgdb.package.new + topic: pagure.project.new # Once the check has been triggered, this defines what we # actually check. @@ -22,9 +22,9 @@ criteria: topics: - "%(topic)s" # The topic of the message that triggered us. users: - - "%(msg.package_listing.point_of_contact)s" # The owner of the newly created package. + - "%(msg.project.access_users.owner)s" # The owner of the newly created package. operation: count condition: greater than or equal to: 1 -recipient: "%(msg.package_listing.point_of_contact)s" +recipient: "%(msg.project.access_users.owner)s"