#markdown-tables #review #pr #table #status #ci #generate-markdown

app pr-summary

Generates a markdown table that summarizes PRs

1 unstable release

0.1.0 Jun 19, 2024

#7 in #pr

WTFPL license

21KB
334 lines

A quick-and-dirty tool to generate a markdown table that summarizes the status (conflicts, CI, review state) of PRs

PR Author Mergeable Review state
#912 🔴 sdbondi No Needs review
#911 🔴 sdbondi No Needs review
#893 🔴 mrx Conflicts Approved by sdbondi
#895 🟢 x Conflicts Dismissed

Permissions

  1. Head to https://github.com/settings/tokens?type=beta

  2. Setup these permissions image

  3. Set GITHUB_TOKEN to your personal token, or pass in --token github_xxxx on the command line

Command options

Usage: pr-summary --owner <OWNER> --repo <REPO> --personal-token <PERSONAL_TOKEN>

Options:
  -o, --owner <OWNER>                    
  -r, --repo <REPO>                      
  -t, --personal-token <PERSONAL_TOKEN>  [env: GITHUB_TOKEN]
  -h, --help                             Print help

Dependencies

~14–26MB
~414K SLoC