50 lines
1.4 KiB
TypeScript
50 lines
1.4 KiB
TypeScript
import {IIssuesProcessorOptions} from '../../src/interfaces/issues-processor-options';
|
|
|
|
export const DefaultProcessorOptions: IIssuesProcessorOptions = Object.freeze({
|
|
repoToken: 'none',
|
|
staleIssueMessage: 'This issue is stale',
|
|
stalePrMessage: 'This PR is stale',
|
|
closeIssueMessage: 'This issue is being closed',
|
|
closePrMessage: 'This PR is being closed',
|
|
daysBeforeStale: 1,
|
|
daysBeforeIssueStale: NaN,
|
|
daysBeforePrStale: NaN,
|
|
daysBeforeIssueClose: 30,
|
|
daysBeforePrClose: 30,
|
|
staleIssueLabel: 'Stale',
|
|
closeIssueLabel: '',
|
|
exemptIssueLabels: '',
|
|
stalePrLabel: 'Stale',
|
|
closePrLabel: '',
|
|
exemptPrLabels: '',
|
|
onlyLabels: '',
|
|
onlyIssueLabels: '',
|
|
onlyPrLabels: '',
|
|
anyOfLabels: '',
|
|
anyOfIssueLabels: '',
|
|
anyOfPrLabels: '',
|
|
operationsPerRun: 100,
|
|
debugOnly: true,
|
|
removeStaleWhenUpdated: false,
|
|
removeIssueStaleWhenUpdated: undefined,
|
|
removePrStaleWhenUpdated: undefined,
|
|
ascending: false,
|
|
deleteBranch: false,
|
|
startDate: '',
|
|
exemptIssueMilestones: '',
|
|
exemptPrMilestones: '',
|
|
exemptAllIssueMilestones: false,
|
|
exemptAllPrMilestones: false,
|
|
exemptAssignees: '',
|
|
exemptIssueAssignees: '',
|
|
exemptPrAssignees: '',
|
|
exemptAllIssueAssignees: false,
|
|
exemptAllPrAssignees: false,
|
|
enableStatistics: true,
|
|
labelsToRemoveWhenUnstale: '',
|
|
labelsToAddWhenUnstale: '',
|
|
ignoreIssueUpdates: false,
|
|
ignorePrUpdates: false,
|
|
exemptDraftPr: false
|
|
});
|