Skip to content

Black Friday

Annual Pro is $90 for the first year, normally $120. Or start monthly at $6 for two months, then $12.

Ends Dec 4, 11:59 PM PT.

Create an account
← Public packages

@ifyoumakeit/pr-health

Tells you which of your open GitHub PRs are actually stuck: red CI, conflicts, or unanswered bots.

FollowFork

Files

AGENTS.md

27 lines · 798 B · Markdown

PR Health

Imports

import check from 'kody:@ifyoumakeit/pr-health/check'

Smoke tests

Read-only. From execute:

import check from 'kody:@ifyoumakeit/pr-health/check'
export default async () => check({})

If more than one GitHub credential exists, pass the execute credentials map, e.g. { github: "github-platform" }.

Expect { stuck, checked, skipped: { drafts, parked }, summary }. Show the user summary.

Edge cases

  • Unknown input keys throw. Accepted: abandonedDays, botWindowDays, ignoreBots.
  • mergeable can be UNKNOWN while GitHub computes it; that is not treated as a conflict.
  • Only the first 100 open PRs authored by the viewer are checked.
  • Uses the GitHub GraphQL statusCheckRollup, which combines check runs and commit statuses.