Expand description
changeset_requires_path — the <since>...HEAD diff must ADD a
file matching add_glob:. The “did you add a changelog entry?”
gate (prettier changelog_unreleased/, cpython Misc/NEWS.d/next/,
pnpm .changeset/*.md).
Diff-scoped: since: (the base ref) is required — the assertion
is about the set of files a contribution adds. An optional
when_changed: gates the requirement on some other glob having
changed (don’t demand a changelog for a docs-only PR); with no
gate, any non-empty changeset triggers it. Builds on the same
<since>...HEAD three-dot (merge-base) diff as
scope_filter.changed_since: / alint check --changed.
Graceful no-op outside a git repo, when git is unavailable, or
when nothing relevant changed. A since: that fails to resolve
hard-fails with a shallow-clone hint (the user asked for a diff;
a silently-empty range would mask the misconfiguration).
Check-only — alint can’t author the missing changelog entry.