.tasks: Only run issue-scan directly if AMQP_SERVER is not set

Closes #12215
This commit is contained in:
Sanne Raymaekers 2019-07-03 17:00:35 +02:00 committed by Martin Pitt
parent 32a037cba7
commit 4271f9418b
1 changed files with 2 additions and 3 deletions

5
.tasks
View File

@ -18,6 +18,8 @@ if [ -n "$AMQP_SERVER" ]; then
echo bots/run-queue --amqp "$AMQP_SERVER"
else
bots/tests-scan
# Any tasks related to issues
bots/issue-scan
fi
# When run automated, randomize to minimize stampeding herd
@ -35,6 +37,3 @@ if [ $chance -gt 9 ]; then
bots/naughty-trigger
bots/learn-trigger
fi
# Any tasks related to issues
bots/issue-scan