Skip to content

Commit

Permalink
Ask the Cockpit Bots to propose updates for NPM modules
Browse files Browse the repository at this point in the history
Copied from starter-kit.

Closes #71
  • Loading branch information
martinpitt committed Apr 4, 2019
1 parent c042d31 commit b7377bb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .tasks
@@ -0,0 +1,16 @@
#!/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

# Find those issues and propose to do them
bots/issue-scan

0 comments on commit b7377bb

Please sign in to comment.