zddhub / gpkit

A Kit for Github Project Board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github Project Kit

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.

How to use

Prepare

  • Install Deno
  • Milestone is required

Configure

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>

Run

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

About

A Kit for Github Project Board


Languages

Language:JavaScript 100.0%