A kit for Github project board, that calculates some metric. Current supported:
-
Cycle Time: Which is the time elapses from starting working on the card until the card is marked as done.
-
Lead Time: Which is the time used between code commit and this commit be deployed to production.
- Install Deno
- Milestone is required
Configure your .env
as below:
export GRAPHQL_ENDPOINT=<Your GITHUB domain>/api/graphql
export GITHUB_TOKEN=<Your Personal access tokens>
export GITHUB_OWNER=<Your owner name>
export GITHUB_PROJECT_NAME=<Your project name>
source .env
deno run --allow-net --allow-env --allow-write kit.js
You will get your data from output.csv
file
You can also compile and run it later:
deno compile --allow-net --allow-env --allow-write kit.js
./kit