-
Notifications
You must be signed in to change notification settings - Fork 4
Review script
Heikki Honkanen edited this page Sep 7, 2017
·
2 revisions
#!/bin/bash
RED='\033[0;31m'
GREEN='\033[0;32m'
CYAN='\033[0;36m'
CLEAR='\033c'
IFS=$'\n'
while [[ true ]]; do
printf "${CLEAR}"
PULLS=`curl -s https://api.github.com/repos/Opetushallitus/ataru/pulls | jq -r '.[].title'`
printf "${CYAN}Do these reviews!!!!!!\n"
for pull in ${PULLS}; do
printf "${GREEN}* ${RED}${pull}\n"
done
sleep 600
done