Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 675 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 675 Bytes

PragBuilds Bot

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).

Credentials

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

Get Notified

To add another book, edit db in main.go.

Debugging

When debugging, set export DEBUG=yes environment variable to have email printed to stdout instead of actually sending them.