import { OctoKit } from '../api/octokit' ; import { getInput , getRequiredInput } from '../common/utils' ; import { NeedsMoreInfoCloser } from './NeedsMoreInfoCloser' ; import { Action } from '../common/Action' ; class NeedsMoreInfo extends Action { id = 'NeedsMoreInfo' ; async onTriggered ( github ) { await new NeedsMoreInfoCloser ( github , getRequiredInput ( 'label' ) , + getRequiredInput ( 'closeDays' ) , + getRequiredInput ( 'pingDays' ) , getInput ( 'closeComment' ) || '' , getInput ( 'pingComment' ) || '' , ( getInput ( 'additionalTeam' ) ?? '' ) . split ( '|' ) ) . run ( ) ; } } new NeedsMoreInfo ( ) . run ( ) ;