
* chore(assignees): add logs * docs(readme): use the override syntax to simplify the reading * docs(readme): add missing default options * docs(readme): add 3 new options to ignore activity before stale * chore(action): add 3 new options * fix(removeStaleWhenUpdated): use the value of the action config as expected Fixes #451 * chore(main): add 3 new options * feat(ignore): add new class to ignore all activities before stale * feat(option): add new options to ignore all activities before stale * chore(index): update index file * docs(readme): fix typo * docs(readme): add missing empty row * chore(rebase): fix logger issues due to rebase * chore: aplly changes due to rebase * refactor(naming): change the name of the options as suggested * chore(logs): reverse the logs as well * docs(readme): format the table of options * refactor(naming): rename the the options * style(rename): rename more updates wording to activities * build(ci): run the test step as expected for a CI instead of using a real linter with auto fix and the tests verbose as fuck * chore: handle breaking changes due to new changes * refactor(naming): rename and reverse the options * style(tests): use plural for some describe * docs(days-before-stale): list the new option * chore(index): update index file * chore: keep static methods on top * chore(logs): remove useless log
54 lines
1.5 KiB
TypeScript
54 lines
1.5 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,
|
|
daysBeforeClose: 30,
|
|
daysBeforeIssueClose: NaN,
|
|
daysBeforePrClose: NaN,
|
|
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: '',
|
|
exemptMilestones: '',
|
|
exemptIssueMilestones: '',
|
|
exemptPrMilestones: '',
|
|
exemptAllMilestones: false,
|
|
exemptAllIssueMilestones: undefined,
|
|
exemptAllPrMilestones: undefined,
|
|
exemptAssignees: '',
|
|
exemptIssueAssignees: '',
|
|
exemptPrAssignees: '',
|
|
exemptAllAssignees: false,
|
|
exemptAllIssueAssignees: undefined,
|
|
exemptAllPrAssignees: undefined,
|
|
enableStatistics: true,
|
|
labelsToRemoveWhenUnstale: '',
|
|
labelsToAddWhenUnstale: '',
|
|
ignoreUpdates: false,
|
|
ignoreIssueUpdates: undefined,
|
|
ignorePrUpdates: undefined
|
|
});
|