mirror of
https://github.com/actions/stale.git
synced 2025-12-10 12:07:09 +00:00
* test: add more coverage * docs: reorder and enhance typo * docs(contributing): add more information about the npm scripts * feat(statistics): add simple statistics * feat(statistics): add more stats * refactor(issues-processor): remove some options from the constructor it should have been only useful for the tests * feat(statistics): add stats for new stale or undo stale issues * chore(rebase): handle rebase conflicts
47 lines
1.4 KiB
TypeScript
47 lines
1.4 KiB
TypeScript
import {IsoOrRfcDateString} from '../types/iso-or-rfc-date-string';
|
|
|
|
export interface IIssuesProcessorOptions {
|
|
repoToken: string;
|
|
staleIssueMessage: string;
|
|
stalePrMessage: string;
|
|
closeIssueMessage: string;
|
|
closePrMessage: string;
|
|
daysBeforeStale: number;
|
|
daysBeforeIssueStale: number; // Could be NaN
|
|
daysBeforePrStale: number; // Could be NaN
|
|
daysBeforeClose: number;
|
|
daysBeforeIssueClose: number; // Could be NaN
|
|
daysBeforePrClose: number; // Could be NaN
|
|
staleIssueLabel: string;
|
|
closeIssueLabel: string;
|
|
exemptIssueLabels: string;
|
|
stalePrLabel: string;
|
|
closePrLabel: string;
|
|
exemptPrLabels: string;
|
|
onlyLabels: string;
|
|
onlyIssueLabels: string;
|
|
onlyPrLabels: string;
|
|
anyOfLabels: string;
|
|
operationsPerRun: number;
|
|
removeStaleWhenUpdated: boolean;
|
|
debugOnly: boolean;
|
|
ascending: boolean;
|
|
skipStaleIssueMessage: boolean;
|
|
skipStalePrMessage: boolean;
|
|
deleteBranch: boolean;
|
|
startDate: IsoOrRfcDateString | undefined; // Should be ISO 8601 or RFC 2822
|
|
exemptMilestones: string;
|
|
exemptIssueMilestones: string;
|
|
exemptPrMilestones: string;
|
|
exemptAllMilestones: boolean;
|
|
exemptAllIssueMilestones: boolean | undefined;
|
|
exemptAllPrMilestones: boolean | undefined;
|
|
exemptAssignees: string;
|
|
exemptIssueAssignees: string;
|
|
exemptPrAssignees: string;
|
|
exemptAllAssignees: boolean;
|
|
exemptAllIssueAssignees: boolean | undefined;
|
|
exemptAllPrAssignees: boolean | undefined;
|
|
enableStatistics: boolean;
|
|
}
|