UNPKG

yuki-no-plugin-release-tracking

Version:

Release tracking plugin for yuki-no - Tracks release status for commits and manages issue labels/comments automatically

9 lines (8 loc) 465 B
import { getMultilineInput } from '@gumball12/yuki-no/inputUtils'; import { excludeFrom } from '@gumball12/yuki-no/utils'; const DEFAULT_RELEASE_TRACKING_LABELS = ['pending']; export const getReleaseTrackingLabels = (github) => { const rawReleaseLabels = getMultilineInput('RELEASE_TRACKING_LABELS', DEFAULT_RELEASE_TRACKING_LABELS); const releaseTrackingLabels = excludeFrom(rawReleaseLabels, github.configuredLabels); return releaseTrackingLabels; };