Add state

This commit is contained in:
Sergey Dolin committed 2023-06-22 13:54:24 +02:00
1 parent 51c18470e1
commit 79fe616082
24 files changed
+7306 -44

No files matched your search

+2
View File
@@ -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) {