summaryrefslogtreecommitdiffstats
path: root/rules/tester-you-can-pry-it-from-my-cold-dead-hands.yml
blob: 958f6ab2730130e25ec20520e0a04d9239a3ef14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%YAML 1.2
---

name:           You can pry it from my cold, dead hands
description:    Tested an update for the soon-to-be-retired Fedora release.
creator:        ralph
discussion:     https://fedorahosted.org/fedora-badges/ticket/72
image_url:      https://badges.fedoraproject.org/pngs/tester-you-can-pry-it-from-my-cold-dead-hands.png
issuer_id:      fedora-project

# TODO -- we have to update the .fc19 at the end of this string with .fc20 once f19 is EOL
# https://fedoraproject.org/wiki/End_of_life_SOP#Badges_tasks
trigger:
  all:
  - topic:  bodhi.update.comment
  - lambda:  msg.get('msg', {}).get('comment', {}).get('update_title', 'nope').endswith('.fc19')

criteria:
  datanommer:
      filter:
        topics:
        - "%(topic)s"
        users:
        - "%(msg.comment.author)s"
      operation: count
      condition:
        greater than or equal to: 1

recipient: "%(msg.comment.author)s"