mirror of
https://github.com/actions/stale.git
synced 2026-10-08 15:33:06 +01:00
* Add exempt-issue-types option for blocklist filter by issue type * Add missing input reading for exempt-issue-types * Keep exempt issue types from filtering pull requests * Document exempt issue type precedence
61 lines
1.9 KiB
TypeScript
61 lines
1.9 KiB
TypeScript
import {IsoOrRfcDateString} from '../types/iso-or-rfc-date-string.js';
|
|
|
|
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;
|
|
anyOfIssueLabels: string;
|
|
anyOfPrLabels: string;
|
|
operationsPerRun: number;
|
|
removeStaleWhenUpdated: boolean;
|
|
removeIssueStaleWhenUpdated: boolean | undefined;
|
|
removePrStaleWhenUpdated: boolean | undefined;
|
|
debugOnly: boolean;
|
|
ascending: boolean;
|
|
sortBy: 'created' | 'updated' | 'comments';
|
|
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;
|
|
labelsToRemoveWhenStale: string;
|
|
labelsToRemoveWhenUnstale: string;
|
|
labelsToAddWhenUnstale: string;
|
|
ignoreUpdates: boolean;
|
|
ignoreIssueUpdates: boolean | undefined;
|
|
ignorePrUpdates: boolean | undefined;
|
|
exemptDraftPr: boolean;
|
|
closeIssueReason: string;
|
|
includeOnlyAssigned: boolean;
|
|
exemptIssueTypes?: string;
|
|
onlyIssueTypes?: string;
|
|
}
|