isEvent
An event (closing, reopening) is kept as a comment saying so.
import type { Comment } from "#codebase/tcmts/store"; export const isEvent = (k: Comment) => /^(closed|reopened)$|^merged into \S+ as #[a-z2-7]+$/.test(k.body)
An event (closing, reopening) is kept as a comment saying so.
import type { Comment } from "#codebase/tcmts/store"; export const isEvent = (k: Comment) => /^(closed|reopened)$|^merged into \S+ as #[a-z2-7]+$/.test(k.body)