We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d58d69 commit af2e934Copy full SHA for af2e934
.tasks
@@ -12,13 +12,24 @@
12
# Cockpit bots.
13
14
set -ex
15
+
16
+# Scan for all tests
17
bots/tests-scan
18
19
+# When run automated, randomize to minimize stampeding herd
20
+if [ -t 0 ]; then
21
+ chance=10
22
+else
23
+ chance=$(shuf -i 0-10 -n 1)
24
+fi
25
26
# File issues for these tasks
-bots/po-trigger
-bots/image-trigger
-bots/npm-trigger
-bots/naughty-trigger
27
+if [ $chance -gt 9 ]; then
28
+ bots/po-trigger
29
+ bots/image-trigger
30
+ bots/npm-trigger
31
+ bots/naughty-trigger
32
33
34
# Any tasks related to issues
35
bots/issue-scan
0 commit comments