mirror of
https://github.com/actions/stale.git
synced 2025-12-29 03:18:17 +00:00
Add state
This commit is contained in:
@@ -17,6 +17,8 @@ export class ExemptDraftPullRequest {
|
||||
}
|
||||
|
||||
async shouldExemptDraftPullRequest(
|
||||
// keep this for backward compatibility
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
pullRequestCallback: () => Promise<IPullRequest | undefined | void>
|
||||
): Promise<boolean> {
|
||||
if (this._issue.isPullRequest) {
|
||||
|
||||
Reference in New Issue
Block a user