classifyPr
classifyPr(
pr):PrKind
Defined in: src/forge/pr-kind.ts:31
Classify an open PR into a PrKind, the single source of truth shared
by the forge code and the backlog counts. Rules are evaluated in order:
Dependabot author wins first (so a release-ish title on a bump still reads as
a bump), then release-please (autorelease label / release-please-- head
branch / chore: release <version> title), else a regular code PR. headRefName and
labels are optional.
Parameters
Section titled “Parameters”author
Section titled “author”string
headRefName?
Section titled “headRefName?”string
labels?
Section titled “labels?”string[]
string