A bot that monitors https://portal.pragprog.com/build_statuses and report failed builds to authors. It runs on cron as a GitHub action (see here).
You need to set the following secrets on GitHub actions or environment variables for local development.
export PRAG_USER=XXX
export PRAG_PASSWD=XXX
export GMAIL_USER=XXX
export GMAIL_PASSWD=XXX
To add another book, edit db
in main.go
.
When debugging, set export DEBUG=yes
environment variable to have email printed to stdout instead of actually sending them.