feat(draft-pr): add new option to not process PRs which are in draft (#539)

* chore(assignees): add logs

* feat(draft-pr): add new option to not process PRs which are in draft

* refactor(draft-pr): create a dedicated class to handle the logic

* chore(index): update index file
This commit is contained in:
Geoffrey Testelin authored and GitHub committed 2021-09-20 09:37:32 -04:00
1 parent 303465a5d2
commit 9912fa74d1
13 files changed
+367 -72

No files matched your search

@@ -50,4 +50,5 @@ export interface IIssuesProcessorOptions {
ignoreUpdates: boolean;
ignoreIssueUpdates: boolean | undefined;
ignorePrUpdates: boolean | undefined;
exemptDraftPr: boolean;
}
+1
View File
@@ -3,4 +3,5 @@ export interface IPullRequest {
head: {
ref: string;
};
draft: boolean;
}