← Public packages
@ifyoumakeit/pr-health
Tells you which of your open GitHub PRs are actually stuck: red CI, conflicts, or unanswered bots.
Files
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. mergeablecan beUNKNOWNwhile 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.