This script uses the GitHub API to query events for a GH user and then prints out relevant pull requests and issues. By default, the script will only include events from the previous workday until runtime (assumes Monday-Friday work week).
-
Generate a readonly GitHub personal access token and set the environement variables
GH_API_TOKEN
andGH_USERNAME
. -
Clone this repository and run
npm install
.
node standup.js [--all | -a]
Only tested on node 14.x
Passing --all
or -a
will summarize all events returned by the GH API for the given username.