2021-02-16 19:18:48 +08:00
|
|
|
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',
|
2021-10-09 03:06:12 +08:00
|
|
|
daysBeforeIssueStale: 1,
|
|
|
|
daysBeforePrStale: 1,
|
2021-10-09 02:39:44 +08:00
|
|
|
daysBeforeIssueClose: 30,
|
|
|
|
daysBeforePrClose: 30,
|
2021-02-16 19:18:48 +08:00
|
|
|
staleIssueLabel: 'Stale',
|
|
|
|
closeIssueLabel: '',
|
|
|
|
exemptIssueLabels: '',
|
|
|
|
stalePrLabel: 'Stale',
|
|
|
|
closePrLabel: '',
|
|
|
|
exemptPrLabels: '',
|
|
|
|
onlyLabels: '',
|
2021-03-01 08:08:33 +08:00
|
|
|
onlyIssueLabels: '',
|
|
|
|
onlyPrLabels: '',
|
2021-03-02 00:05:53 +08:00
|
|
|
anyOfLabels: '',
|
2021-04-29 04:33:42 +08:00
|
|
|
anyOfIssueLabels: '',
|
|
|
|
anyOfPrLabels: '',
|
2021-02-16 19:18:48 +08:00
|
|
|
operationsPerRun: 100,
|
2021-06-10 22:14:45 +08:00
|
|
|
debugOnly: true,
|
2021-10-09 03:30:39 +08:00
|
|
|
removeIssueStaleWhenUpdated: false,
|
|
|
|
removePrStaleWhenUpdated: false,
|
2021-02-16 19:18:48 +08:00
|
|
|
ascending: false,
|
|
|
|
deleteBranch: false,
|
|
|
|
startDate: '',
|
|
|
|
exemptIssueMilestones: '',
|
|
|
|
exemptPrMilestones: '',
|
2021-10-09 01:19:07 +08:00
|
|
|
exemptAllIssueMilestones: false,
|
|
|
|
exemptAllPrMilestones: false,
|
2021-02-28 19:15:08 +08:00
|
|
|
exemptAssignees: '',
|
|
|
|
exemptIssueAssignees: '',
|
|
|
|
exemptPrAssignees: '',
|
2021-10-09 00:50:37 +08:00
|
|
|
exemptAllIssueAssignees: false,
|
|
|
|
exemptAllPrAssignees: false,
|
2021-06-08 21:31:20 +08:00
|
|
|
enableStatistics: true,
|
|
|
|
labelsToRemoveWhenUnstale: '',
|
2021-09-17 21:54:38 +08:00
|
|
|
labelsToAddWhenUnstale: '',
|
2021-10-09 00:06:39 +08:00
|
|
|
ignoreIssueUpdates: false,
|
|
|
|
ignorePrUpdates: false,
|
2021-09-20 21:37:32 +08:00
|
|
|
exemptDraftPr: false
|
2021-02-16 19:18:48 +08:00
|
|
|
});
|