Browse code

Randomly assign pull requests older than two weeks

Add a daily job to randomly assign pull requests which have been opened
for more than two weeks.

Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com>

Arnaud Porterie (icecrime) authored on 2017/02/09 00:54:47
Showing 1 changed files
... ...
@@ -99,4 +99,28 @@
99 99
         settings: {
100 100
             configurations: [ z ],
101 101
             label:          "rebuild/z",
102
+
103
+# Once a day, randomly assign pull requests older than 2 weeks.
104
+- schedule:         "@daily"
105
+  operations:
106
+      - type:       random-assign
107
+        filters: {
108
+            age:    "2w",
109
+            is:     "pr",
110
+        }
111
+        settings: {
112
+            users: [
113
+                "anusha-ragunathan",
114
+                "cpuguy83",
115
+                "crosbymichael",
116
+                "dnephin",
117
+                "justincormack",
118
+                "lk4d4",
119
+                "mlaventure",
120
+                "thajeztah",
121
+                "tiborvass",
122
+                "tonistiigi",
123
+                "vdemeester",
124
+                "vieux",
125
+            ]
102 126
         }