Skip to content

isDocRelevantMerge

isDocRelevantMerge(title): boolean

Defined in: src/doc-agent.ts:610

True when a merged PR’s title (the squash/merge commit subject) classifies as a documentation- relevant change: a conventional-commit header whose type is feat/config or whose scope is config. Returns false for an absent/empty title, a bare (non-conventional) title, and the doc-sync subject (docs: sync …) — so non-conventional titles cleanly degrade to the nightly path and the doc agent never self-triggers off its own merged PR. config is a forward-looking allowance (not yet in this repo’s history). See issue #904.

string | undefined

boolean