starter-kit/.tasks
Martin Pitt 0c1d1b82e2 tasks: Drop issue-scan
This is now done by webhooks and AMQP.
2019-07-09 08:17:53 +02:00

13 lines
259 B
Bash
Executable file

#!/bin/sh
# When run automated, randomize to minimize stampeding herd
if [ -t 0 ]; then
chance=10
else
chance=$(shuf -i 0-10 -n 1)
fi
if [ $chance -gt 9 ]; then
# Open issues for things that need doing on a regular basis
bots/npm-trigger
fi