From 4665995b654b338caee447984e033fd84d0cd7b0 Mon Sep 17 00:00:00 2001 From: TESTELIN Geoffrey Date: Fri, 8 Oct 2021 19:06:51 +0200 Subject: [PATCH] feat: remove the exempt-assignees option BREAKING CHANGE: The option exempt-assignees was removed --- README.md | 27 +- __tests__/assignees.spec.ts | 627 ++++++++------- action.yml | 8 +- dist/index.js | 18 +- src/classes/assignees.spec.ts | 890 ++++++++++----------- src/classes/assignees.ts | 52 +- src/classes/issue.spec.ts | 1 - src/enums/option.ts | 1 - src/interfaces/issues-processor-options.ts | 1 - src/main.ts | 1 - 10 files changed, 762 insertions(+), 864 deletions(-) diff --git a/README.md b/README.md index 4cd6f3dd..a25c234d 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,8 @@ Every argument is optional. | [exempt-all-milestones](#exempt-all-milestones) | Exempt all issues/PRs with milestones from stale | `false` | | [exempt-all-issue-milestones](#exempt-all-issue-milestones) | Override [exempt-all-milestones](#exempt-all-milestones) for issues only | | | [exempt-all-pr-milestones](#exempt-all-pr-milestones) | Override [exempt-all-milestones](#exempt-all-milestones) for PRs only | | -| [exempt-assignees](#exempt-assignees) | Assignees on issues/PRs exempted from stale | | -| [exempt-issue-assignees](#exempt-issue-assignees) | Override [exempt-assignees](#exempt-assignees) for issues only | | -| [exempt-pr-assignees](#exempt-pr-assignees) | Override [exempt-assignees](#exempt-assignees) for PRs only | | +| [exempt-issue-assignees](#exempt-issue-assignees) | Assignees on issues exempted from stale | | +| [exempt-pr-assignees](#exempt-pr-assignees) | Assignees on PRs exempted from stale | | | [exempt-all-issue-assignees](#exempt-all-issue-assignees) | Exempt all issues with assignees from stale | `false` | | [exempt-all-pr-assignees](#exempt-all-pr-assignees) | Exempt all PRs with assignees from stale | `false` | | [exempt-draft-pr](#exempt-draft-pr) | Skip the stale action for draft PRs | `false` | @@ -124,7 +123,8 @@ You can fine tune which issues or pull requests should be marked as stale based - [start-date](#start-date) - [exempt-milestones](#exempt-milestones) - [exempt-all-milestones](#exempt-all-milestones) -- [exempt-assignees](#exempt-assignees) +- [exempt-issue-assignees](#exempt-issue-assignees) +- [exempt-pr-assignees](#exempt-pr-assignees) - [exempt-all-issue-assignees](#exempt-all-issue-assignees) - [exempt-all-pr-assignees](#exempt-all-pr-assignees) - [ignore-issue-updates](#ignore-issue-updates) @@ -432,24 +432,21 @@ Override [exempt-all-milestones](#exempt-all-milestones) but only to exempt the Default value: unset -#### exempt-assignees +#### exempt-issue-assignees -An allow-list of assignee(s) to only process the issues or the pull requests that does not contain one of these assignee(s). +An allow-list of assignee(s) to only process the issues that does not contain one of these assignee(s). It can be a comma separated list of assignees (e.g: `marco,polo`). If unset (or an empty string), this option will not alter the stale workflow. Default value: unset -#### exempt-issue-assignees - -Override [exempt-assignees](#exempt-assignees) but only to process the issues that does not contain one of these assignee(s). - -Default value: unset - #### exempt-pr-assignees -Override [exempt-assignees](#exempt-assignees) but only to process the pull requests that does not contain one of these assignee(s). +An allow-list of assignee(s) to only process the pull requests that does not contain one of these assignee(s). +It can be a comma separated list of assignees (e.g: `marco,polo`). + +If unset (or an empty string), this option will not alter the stale workflow. Default value: unset @@ -457,7 +454,7 @@ Default value: unset If set to `true`, the issues with an assignee will not be marked as stale automatically. -Priority over [exempt-assignees](#exempt-assignees). +Priority over [exempt-issue-assignees](#exempt-issue-assignees). Default value: `false` @@ -465,7 +462,7 @@ Default value: `false` If set to `true`, the pull requests with an assignee will not be marked as stale automatically. -Priority over [exempt-assignees](#exempt-assignees). +Priority over [exempt-pr-assignees](#exempt-pr-assignees). Default value: `false` diff --git a/__tests__/assignees.spec.ts b/__tests__/assignees.spec.ts index 7e9b4907..45e1a796 100644 --- a/__tests__/assignees.spec.ts +++ b/__tests__/assignees.spec.ts @@ -10,7 +10,6 @@ interface ITestData { assignees: string[]; exemptAllIssueAssignees: boolean; exemptAllPrAssignees: boolean; - exemptAssignees: string; exemptIssueAssignees: string; exemptPrAssignees: string; shouldStale: boolean; @@ -58,318 +57,318 @@ describe('assignees options', (): void => { }); describe.each` - id | isPullRequest | assignees | exemptAllIssueAssignees | exemptAllPrAssignees | exemptAssignees | exemptIssueAssignees | exemptPrAssignees | shouldStale | description - ${100} | ${false} | ${[]} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee'} - ${101} | ${false} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and only exemptAllAssignees is enabled'} - ${102} | ${false} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and only exemptAllIssueAssignees is enabled'} - ${103} | ${false} | ${[]} | ${false} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and only exemptAllPrAssignees is enabled'} - ${104} | ${false} | ${[]} | ${false} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is disabled'} - ${105} | ${false} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is enabled'} - ${106} | ${false} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is disabled'} - ${107} | ${false} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is enabled'} - ${108} | ${false} | ${[]} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is disabled'} - ${109} | ${false} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is enabled'} - ${200} | ${false} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} - ${201} | ${false} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is enabled'} - ${202} | ${false} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and only exemptAllAssignees is enabled'} - ${203} | ${false} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and only exemptAllIssueAssignees is enabled'} - ${204} | ${false} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and only exemptAllPrAssignees is enabled'} - ${205} | ${false} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is disabled'} - ${206} | ${false} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is enabled'} - ${207} | ${false} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is disabled'} - ${208} | ${false} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is enabled'} - ${209} | ${false} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is disabled'} - ${210} | ${false} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is enabled'} - ${211} | ${false} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} - ${212} | ${false} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is enabled'} - ${213} | ${false} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} - ${300} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has a different assignee'} - ${301} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees has a different assignee'} - ${302} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAssignees has a different assignee'} - ${303} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled and exemptAssignees has a different assignee'} - ${304} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled and exemptAssignees has a different assignee'} - ${305} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptAssignees has a different assignee'} - ${306} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptAssignees has a different assignee'} - ${307} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptAssignees has a different assignee'} - ${308} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptAssignees has a different assignee'} - ${309} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptAssignees has a different assignee'} - ${310} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptAssignees has a different assignee'} - ${311} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has a different assignee'} - ${312} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees has a different assignee'} - ${313} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has a different assignee'} - ${400} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has the same assignee'} - ${401} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees has the same assignee'} - ${402} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAssignees has the same assignee'} - ${403} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled and exemptAssignees has the same assignee'} - ${404} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled and exemptAssignees has the same assignee'} - ${405} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptAssignees has the same assignee'} - ${406} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptAssignees has the same assignee'} - ${407} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptAssignees has the same assignee'} - ${408} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptAssignees has the same assignee'} - ${409} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptAssignees has the same assignee'} - ${410} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptAssignees has the same assignee'} - ${411} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has the same assignee'} - ${412} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees has the same assignee'} - ${413} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has the same assignee'} - ${500} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${501} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${502} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${503} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${504} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${505} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${506} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${507} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${508} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${509} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${510} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${511} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${512} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${513} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${600} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${601} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${602} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${603} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${604} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${605} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${606} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${607} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${608} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${609} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${610} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${611} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${612} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${613} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${700} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${701} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${702} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${703} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${704} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${705} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${706} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${707} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${708} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${709} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${710} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${711} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${712} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${713} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${800} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${801} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${802} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${803} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${804} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${805} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${806} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${807} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${808} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${809} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${810} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${811} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${812} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${813} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${900} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${901} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${902} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${903} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${904} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${905} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${906} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${907} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${908} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${909} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${910} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${911} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${912} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${913} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${1000} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1001} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1002} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1003} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1004} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1005} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1006} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1007} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1008} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1009} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1010} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1011} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1012} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1013} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${1100} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1101} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1102} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1103} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1104} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1105} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1106} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1107} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1108} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1109} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1110} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1111} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1112} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1113} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${1200} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1201} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1202} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1203} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1204} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1205} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1206} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1207} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1208} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1209} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1210} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1211} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1212} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1213} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${1300} | ${true} | ${[]} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee'} - ${1301} | ${true} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and only exemptAllAssignees is enabled'} - ${1302} | ${true} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and only exemptAllIssueAssignees is enabled'} - ${1303} | ${true} | ${[]} | ${false} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and only exemptAllPrAssignees is enabled'} - ${1304} | ${true} | ${[]} | ${false} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is disabled'} - ${1305} | ${true} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is enabled'} - ${1306} | ${true} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is disabled'} - ${1307} | ${true} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is enabled'} - ${1308} | ${true} | ${[]} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is disabled'} - ${1309} | ${true} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is enabled'} - ${1400} | ${true} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} - ${1401} | ${true} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is enabled'} - ${1402} | ${true} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and only exemptAllAssignees is enabled'} - ${1403} | ${true} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and only exemptAllIssueAssignees is enabled'} - ${1404} | ${true} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and only exemptAllPrAssignees is enabled'} - ${1405} | ${true} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is disabled'} - ${1406} | ${true} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is enabled'} - ${1407} | ${true} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is disabled'} - ${1408} | ${true} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is enabled'} - ${1409} | ${true} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is disabled'} - ${1410} | ${true} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is enabled'} - ${1411} | ${true} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} - ${1412} | ${true} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is enabled'} - ${1413} | ${true} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} - ${1500} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has a different assignee'} - ${1501} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees has a different assignee'} - ${1502} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAssignees has a different assignee'} - ${1503} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled and exemptAssignees has a different assignee'} - ${1504} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled and exemptAssignees has a different assignee'} - ${1505} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptAssignees has a different assignee'} - ${1506} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptAssignees has a different assignee'} - ${1507} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptAssignees has a different assignee'} - ${1508} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptAssignees has a different assignee'} - ${1509} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptAssignees has a different assignee'} - ${1510} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptAssignees has a different assignee'} - ${1511} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has a different assignee'} - ${1513} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has a different assignee'} - ${1600} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has the same assignee'} - ${1601} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees has the same assignee'} - ${1602} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAssignees has the same assignee'} - ${1603} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled and exemptAssignees has the same assignee'} - ${1604} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled and exemptAssignees has the same assignee'} - ${1605} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptAssignees has the same assignee'} - ${1606} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptAssignees has the same assignee'} - ${1607} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptAssignees has the same assignee'} - ${1608} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptAssignees has the same assignee'} - ${1609} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptAssignees has the same assignee'} - ${1610} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptAssignees has the same assignee'} - ${1611} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has the same assignee'} - ${1612} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees has the same assignee'} - ${1613} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees has the same assignee'} - ${1701} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1702} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1703} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1704} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1705} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1706} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1707} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1708} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1709} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1710} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1711} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptIssueAssignees has a different assignee'} - ${1800} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1801} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1802} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1803} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1804} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1805} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1806} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1807} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1808} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1809} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1810} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptIssueAssignees has the same assignee'} - ${1900} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1901} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1902} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1903} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1904} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1905} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1906} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1907} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1908} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1909} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1910} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${1911} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptAssignees and exemptPrAssignees has a different assignee'} - ${2000} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2001} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2002} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2003} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2004} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2005} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2006} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2007} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2008} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2009} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2010} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has a different assignee and exemptPrAssignees has the same assignee'} - ${2100} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2101} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2102} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2103} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2104} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2105} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2106} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2107} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2108} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2109} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2110} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has a different assignee'} - ${2200} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2201} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2202} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2203} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2204} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2205} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2206} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2207} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2208} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2209} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2210} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2311} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2312} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2313} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptIssueAssignees has the same assignee'} - ${2300} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2301} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2302} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2303} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2304} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2305} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2306} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2307} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2308} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2309} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2310} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2311} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has a different assignee'} - ${2400} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2401} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2402} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2403} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2404} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2405} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2406} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2407} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2408} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2409} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2410} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2411} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2412} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} - ${2413} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${''} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled, exemptAssignees has the same assignee and exemptPrAssignees has the same assignee'} + id | isPullRequest | assignees | exemptAllIssueAssignees | exemptAllPrAssignees | exemptIssueAssignees | exemptPrAssignees | shouldStale | description + ${100} | ${false} | ${[]} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee'} + ${101} | ${false} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and only exemptAllAssignees is enabled'} + ${102} | ${false} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and only exemptAllIssueAssignees is enabled'} + ${103} | ${false} | ${[]} | ${false} | ${true} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and only exemptAllPrAssignees is enabled'} + ${104} | ${false} | ${[]} | ${false} | ${true} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is disabled'} + ${105} | ${false} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is enabled'} + ${106} | ${false} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is disabled'} + ${107} | ${false} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is enabled'} + ${108} | ${false} | ${[]} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is disabled'} + ${109} | ${false} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${true} | ${'when the issue does not have an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is enabled'} + ${200} | ${false} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} + ${201} | ${false} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is enabled'} + ${202} | ${false} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and only exemptAllAssignees is enabled'} + ${203} | ${false} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and only exemptAllIssueAssignees is enabled'} + ${204} | ${false} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and only exemptAllPrAssignees is enabled'} + ${205} | ${false} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is disabled'} + ${206} | ${false} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is enabled'} + ${207} | ${false} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is disabled'} + ${208} | ${false} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is enabled'} + ${209} | ${false} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is disabled'} + ${210} | ${false} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is enabled'} + ${211} | ${false} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} + ${212} | ${false} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is enabled'} + ${213} | ${false} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} + ${300} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${301} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${302} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled'} + ${303} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled'} + ${304} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled'} + ${305} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${306} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${307} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${308} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${309} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${310} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${311} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${312} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${313} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${400} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${401} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${402} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled'} + ${403} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled'} + ${404} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled'} + ${405} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${406} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${407} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${408} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${409} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${410} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${411} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${412} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${413} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${500} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has a different assignee'} + ${501} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${502} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${503} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${504} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${505} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptIssueAssignees has a different assignee'} + ${506} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${507} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has a different assignee'} + ${508} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${509} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptIssueAssignees has a different assignee'} + ${510} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${511} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has a different assignee'} + ${512} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${513} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has a different assignee'} + ${600} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has the same assignee'} + ${601} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${602} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${603} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${604} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${605} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptIssueAssignees has the same assignee'} + ${606} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${607} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has the same assignee'} + ${608} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${609} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptIssueAssignees has the same assignee'} + ${610} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${611} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has the same assignee'} + ${612} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${613} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has the same assignee'} + ${700} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptPrAssignees has a different assignee'} + ${701} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptPrAssignees has a different assignee'} + ${702} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptPrAssignees has a different assignee'} + ${703} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled and exemptPrAssignees has a different assignee'} + ${704} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled and exemptPrAssignees has a different assignee'} + ${705} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptPrAssignees has a different assignee'} + ${706} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptPrAssignees has a different assignee'} + ${707} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptPrAssignees has a different assignee'} + ${708} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptPrAssignees has a different assignee'} + ${709} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptPrAssignees has a different assignee'} + ${710} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptPrAssignees has a different assignee'} + ${711} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptPrAssignees has a different assignee'} + ${712} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptPrAssignees has a different assignee'} + ${713} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptPrAssignees has a different assignee'} + ${800} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${801} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${802} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled'} + ${803} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled'} + ${804} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled'} + ${805} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${806} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${807} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${808} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${809} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${810} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${811} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${812} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${813} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${900} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${901} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${902} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled'} + ${903} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled'} + ${904} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled'} + ${905} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${906} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${907} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${908} | ${false} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${909} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${910} | ${false} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${911} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${912} | ${false} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${913} | ${false} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${true} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1000} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1001} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${1002} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled'} + ${1003} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled'} + ${1004} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled'} + ${1005} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${1006} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${1007} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${1008} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${1009} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${1010} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${1011} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1012} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${1013} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1100} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1101} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${1102} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled'} + ${1103} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled'} + ${1104} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled'} + ${1105} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${1106} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${1107} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${1108} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${1109} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${1110} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${1111} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1112} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${1113} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1200} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptPrAssignees has the same assignee'} + ${1201} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptPrAssignees has the same assignee'} + ${1202} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled and exemptPrAssignees has the same assignee'} + ${1203} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllIssueAssignees is enabled and exemptPrAssignees has the same assignee'} + ${1204} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllPrAssignees is enabled and exemptPrAssignees has the same assignee'} + ${1205} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptPrAssignees has the same assignee'} + ${1206} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptPrAssignees has the same assignee'} + ${1207} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptPrAssignees has the same assignee'} + ${1208} | ${false} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptPrAssignees has the same assignee'} + ${1209} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptPrAssignees has the same assignee'} + ${1210} | ${false} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptPrAssignees has the same assignee'} + ${1211} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptPrAssignees has the same assignee'} + ${1212} | ${false} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptPrAssignees has the same assignee'} + ${1213} | ${false} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the issue has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptPrAssignees has the same assignee'} + ${1300} | ${true} | ${[]} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee'} + ${1301} | ${true} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and only exemptAllAssignees is enabled'} + ${1302} | ${true} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and only exemptAllIssueAssignees is enabled'} + ${1303} | ${true} | ${[]} | ${false} | ${true} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and only exemptAllPrAssignees is enabled'} + ${1304} | ${true} | ${[]} | ${false} | ${true} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is disabled'} + ${1305} | ${true} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is enabled'} + ${1306} | ${true} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is disabled'} + ${1307} | ${true} | ${[]} | ${true} | ${true} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is enabled'} + ${1308} | ${true} | ${[]} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is disabled'} + ${1309} | ${true} | ${[]} | ${true} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request does not have an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is enabled'} + ${1400} | ${true} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} + ${1401} | ${true} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is enabled'} + ${1402} | ${true} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and only exemptAllAssignees is enabled'} + ${1403} | ${true} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and only exemptAllIssueAssignees is enabled'} + ${1404} | ${true} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and only exemptAllPrAssignees is enabled'} + ${1405} | ${true} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is disabled'} + ${1406} | ${true} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAllIssueAssignees is enabled'} + ${1407} | ${true} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is disabled'} + ${1408} | ${true} | ${['assignee']} | ${true} | ${true} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptAllPrAssignees is enabled'} + ${1409} | ${true} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is disabled'} + ${1410} | ${true} | ${['assignee']} | ${true} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllIssueAssignees is enabled'} + ${1411} | ${true} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} + ${1412} | ${true} | ${['assignee']} | ${false} | ${true} | ${''} | ${''} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is enabled'} + ${1413} | ${true} | ${['assignee']} | ${false} | ${false} | ${''} | ${''} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled and exemptAllPrAssignees is disabled'} + ${1500} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1501} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${1502} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled'} + ${1503} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled'} + ${1504} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled'} + ${1505} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${1506} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${1507} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${1508} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${1509} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${1510} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${1511} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1513} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1600} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1601} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${1602} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled'} + ${1603} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled'} + ${1604} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled'} + ${1605} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${1606} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${1607} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${1608} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${1609} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${1610} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${1611} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1612} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${1613} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${1701} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${1702} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${1703} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${1704} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${1705} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptIssueAssignees has a different assignee'} + ${1706} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${1707} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has a different assignee'} + ${1708} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${1709} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptIssueAssignees has a different assignee'} + ${1710} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptIssueAssignees has a different assignee'} + ${1711} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has a different assignee'} + ${1800} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${1801} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${1802} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${1803} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptIssueAssignees has the same assignee'} + ${1804} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${1805} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has the same assignee'} + ${1806} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${1807} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptIssueAssignees has the same assignee'} + ${1808} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${1809} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptIssueAssignees has the same assignee'} + ${1810} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptIssueAssignees has the same assignee'} + ${1900} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptPrAssignees has a different assignee'} + ${1901} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptPrAssignees has a different assignee'} + ${1902} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled and exemptPrAssignees has a different assignee'} + ${1903} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled and exemptPrAssignees has a different assignee'} + ${1904} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptPrAssignees has a different assignee'} + ${1905} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptPrAssignees has a different assignee'} + ${1906} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptPrAssignees has a different assignee'} + ${1907} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptPrAssignees has a different assignee'} + ${1908} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptPrAssignees has a different assignee'} + ${1909} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptPrAssignees has a different assignee'} + ${1910} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptPrAssignees has a different assignee'} + ${1911} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptPrAssignees has a different assignee'} + ${2000} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled'} + ${2001} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled'} + ${2002} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled'} + ${2003} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${2004} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${2005} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${2006} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${2007} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${2008} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${2009} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${2010} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${2100} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${2101} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled'} + ${2102} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled'} + ${2103} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled'} + ${2104} | ${true} | ${['assignee']} | ${false} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${2105} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${2106} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${2107} | ${true} | ${['assignee']} | ${true} | ${true} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${2108} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${2109} | ${true} | ${['assignee']} | ${true} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${2110} | ${true} | ${['assignee']} | ${false} | ${false} | ${'bad'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${2200} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${2201} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${2202} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled'} + ${2203} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled'} + ${2204} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled'} + ${2205} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${2206} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${2207} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${2208} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${2209} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${2210} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${2311} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${2312} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${2313} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${2300} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled'} + ${2301} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${2302} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled'} + ${2303} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled'} + ${2304} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled'} + ${2305} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled'} + ${2306} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled'} + ${2307} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled'} + ${2308} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled'} + ${2309} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled'} + ${2310} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'bad'} | ${true} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled'} + ${2311} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'bad'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled'} + ${2400} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptPrAssignees has the same assignee'} + ${2401} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptPrAssignees has the same assignee'} + ${2402} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled and exemptPrAssignees has the same assignee'} + ${2403} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllIssueAssignees is enabled and exemptPrAssignees has the same assignee'} + ${2404} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllPrAssignees is enabled and exemptPrAssignees has the same assignee'} + ${2405} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is disabled and exemptPrAssignees has the same assignee'} + ${2406} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllIssueAssignees is enabled and exemptPrAssignees has the same assignee'} + ${2407} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is disabled and exemptPrAssignees has the same assignee'} + ${2408} | ${true} | ${['assignee']} | ${true} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is enabled, exemptAllPrAssignees is enabled and exemptPrAssignees has the same assignee'} + ${2409} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is disabled and exemptPrAssignees has the same assignee'} + ${2410} | ${true} | ${['assignee']} | ${true} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllIssueAssignees is enabled and exemptPrAssignees has the same assignee'} + ${2411} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptPrAssignees has the same assignee'} + ${2412} | ${true} | ${['assignee']} | ${false} | ${true} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is enabled and exemptPrAssignees has the same assignee'} + ${2413} | ${true} | ${['assignee']} | ${false} | ${false} | ${'assignee'} | ${'assignee'} | ${false} | ${'when the pull request has an assignee and exemptAllAssignees is disabled, exemptAllPrAssignees is disabled and exemptPrAssignees has the same assignee'} `( '$description', ({ @@ -378,7 +377,6 @@ describe('assignees options', (): void => { assignees, exemptAllIssueAssignees, exemptAllPrAssignees, - exemptAssignees, exemptIssueAssignees, exemptPrAssignees, shouldStale @@ -386,7 +384,6 @@ describe('assignees options', (): void => { beforeEach((): void => { opts.exemptAllIssueAssignees = exemptAllIssueAssignees; opts.exemptAllPrAssignees = exemptAllPrAssignees; - opts.exemptAssignees = exemptAssignees; opts.exemptIssueAssignees = exemptIssueAssignees; opts.exemptPrAssignees = exemptPrAssignees; setTestIssueList(isPullRequest, assignees, id); diff --git a/action.yml b/action.yml index 14bdfb9f..d431807d 100644 --- a/action.yml +++ b/action.yml @@ -140,16 +140,12 @@ inputs: description: 'The date used to skip the stale action on issue/pull request created before it (ISO 8601 or RFC 2822).' default: '' required: false - exempt-assignees: - description: 'The assignees which exempt an issue or a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2").' - default: '' - required: false exempt-issue-assignees: - description: 'The assignees which exempt an issue from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2"). Override "exempt-assignees" option regarding only the issues.' + description: 'The assignees which exempt an issue from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2").' default: '' required: false exempt-pr-assignees: - description: 'The assignees which exempt a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2"). Override "exempt-assignees" option regarding only the pull requests.' + description: 'The assignees which exempt a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2").' default: '' required: false exempt-all-issue-assignees: diff --git a/dist/index.js b/dist/index.js index 046c120c..909d77e7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -60,13 +60,7 @@ class Assignees { _getExemptIssueAssignees() { if (this._options.exemptIssueAssignees === '') { this._issueLogger.info(logger_service_1.LoggerService.white('├──'), `The option ${this._issueLogger.createOptionLink(option_1.Option.ExemptIssueAssignees)} is disabled. No specific assignee can skip the stale process for this $$type`); - if (this._options.exemptAssignees === '') { - this._issueLogger.info(logger_service_1.LoggerService.white('├──'), `The option ${this._issueLogger.createOptionLink(option_1.Option.ExemptAssignees)} is disabled. No specific assignee can skip the stale process for this $$type`); - return []; - } - const exemptAssignees = words_to_list_1.wordsToList(this._options.exemptAssignees); - this._issueLogger.info(logger_service_1.LoggerService.white('├──'), `The option ${this._issueLogger.createOptionLink(option_1.Option.ExemptAssignees)} is set. ${logger_service_1.LoggerService.cyan(exemptAssignees.length)} assignee${exemptAssignees.length === 1 ? '' : 's'} can skip the stale process for this $$type`); - return exemptAssignees; + return []; } const exemptAssignees = words_to_list_1.wordsToList(this._options.exemptIssueAssignees); this._issueLogger.info(logger_service_1.LoggerService.white('├──'), `The option ${this._issueLogger.createOptionLink(option_1.Option.ExemptIssueAssignees)} is set. ${logger_service_1.LoggerService.cyan(exemptAssignees.length)} assignee${exemptAssignees.length === 1 ? '' : 's'} can skip the stale process for this $$type`); @@ -75,13 +69,7 @@ class Assignees { _getExemptPullRequestAssignees() { if (this._options.exemptPrAssignees === '') { this._issueLogger.info(logger_service_1.LoggerService.white('├──'), `The option ${this._issueLogger.createOptionLink(option_1.Option.ExemptPrAssignees)} is disabled. No specific assignee can skip the stale process for this $$type`); - if (this._options.exemptAssignees === '') { - this._issueLogger.info(logger_service_1.LoggerService.white('├──'), `The option ${this._issueLogger.createOptionLink(option_1.Option.ExemptAssignees)} is disabled. No specific assignee can skip the stale process for this $$type`); - return []; - } - const exemptAssignees = words_to_list_1.wordsToList(this._options.exemptAssignees); - this._issueLogger.info(logger_service_1.LoggerService.white('├──'), `The option ${this._issueLogger.createOptionLink(option_1.Option.ExemptAssignees)} is set. ${logger_service_1.LoggerService.cyan(exemptAssignees.length)} assignee${exemptAssignees.length === 1 ? '' : 's'} can skip the stale process for this $$type`); - return exemptAssignees; + return []; } const exemptAssignees = words_to_list_1.wordsToList(this._options.exemptPrAssignees); this._issueLogger.info(logger_service_1.LoggerService.white('├──'), `The option ${this._issueLogger.createOptionLink(option_1.Option.ExemptPrAssignees)} is set. ${logger_service_1.LoggerService.cyan(exemptAssignees.length)} assignee${exemptAssignees.length === 1 ? '' : 's'} can skip the stale process for this $$type`); @@ -1829,7 +1817,6 @@ var Option; Option["ExemptAllMilestones"] = "exempt-all-milestones"; Option["ExemptAllIssueMilestones"] = "exempt-all-issue-milestones"; Option["ExemptAllPrMilestones"] = "exempt-all-pr-milestones"; - Option["ExemptAssignees"] = "exempt-assignees"; Option["ExemptIssueAssignees"] = "exempt-issue-assignees"; Option["ExemptPrAssignees"] = "exempt-pr-assignees"; Option["ExemptAllIssueAssignees"] = "exempt-all-issue-assignees"; @@ -2138,7 +2125,6 @@ function _getAndValidateArgs() { exemptAllMilestones: core.getInput('exempt-all-milestones') === 'true', exemptAllIssueMilestones: _toOptionalBoolean('exempt-all-issue-milestones'), exemptAllPrMilestones: _toOptionalBoolean('exempt-all-pr-milestones'), - exemptAssignees: core.getInput('exempt-assignees'), exemptIssueAssignees: core.getInput('exempt-issue-assignees'), exemptPrAssignees: core.getInput('exempt-pr-assignees'), exemptAllIssueAssignees: core.getInput('exempt-all-issue-assignees') === 'true', diff --git a/src/classes/assignees.spec.ts b/src/classes/assignees.spec.ts index 0a5feb39..b5b794b4 100644 --- a/src/classes/assignees.spec.ts +++ b/src/classes/assignees.spec.ts @@ -26,293 +26,279 @@ describe('Assignees', (): void => { issueInterface.pull_request = undefined; }); - describe('when the given options are not configured to exempt an assignee', (): void => { + describe('when the given options are not configured to exempt an issue with an assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptAssignees = ''; + optionsInterface.exemptIssueAssignees = ''; }); - describe('when the given options are not configured to exempt an issue with an assignee', (): void => { + describe('when the given issue does not have an assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptIssueAssignees = ''; + issueInterface.assignees = []; }); - describe('when the given issue does not have an assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = []; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); - }); - - describe('when the given issue does have an assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-login', - type: 'User' - } - ]; - }); - - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); - - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); + expect(result).toStrictEqual(false); }); }); - describe('when the given options are configured to exempt an issue with an assignee', (): void => { + describe('when the given issue does have an assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptIssueAssignees = - 'dummy-exempt-issue-assignee'; + issueInterface.assignees = [ + { + login: 'dummy-login', + type: 'User' + } + ]; }); - describe('when the given issue does not have an assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = []; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); - }); - - describe('when the given issue does have an assignee different than the exempt issue assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-login', - type: 'User' - } - ]; - }); - - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); - - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); - }); - - describe('when the given issue does have an assignee equaling the exempt issue assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-exempt-issue-assignee', - type: 'User' - } - ]; - }); - - it('should return true', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); - - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(true); - }); + expect(result).toStrictEqual(false); }); }); }); - describe('when the given options are configured to exempt an assignee', (): void => { + describe('when the given options are configured to exempt an issue with an assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptAssignees = 'dummy-exempt-assignee'; + optionsInterface.exemptIssueAssignees = 'dummy-exempt-issue-assignee'; }); - describe('when the given options are not configured to exempt an issue with an assignee', (): void => { + describe('when the given issue does not have an assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptIssueAssignees = ''; + issueInterface.assignees = []; }); - describe('when the given issue does not have an assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = []; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); - }); - - describe('when the given issue does have an assignee different than the exempt assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-login', - type: 'User' - } - ]; - }); - - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); - - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); - }); - - describe('when the given issue does have an assignee equaling the exempt assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-exempt-assignee', - type: 'User' - } - ]; - }); - - it('should return true', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); - - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(true); - }); + expect(result).toStrictEqual(false); }); }); - describe('when the given options are configured to exempt an issue with an assignee', (): void => { + describe('when the given issue does have an assignee different than the exempt issue assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptIssueAssignees = - 'dummy-exempt-issue-assignee'; + issueInterface.assignees = [ + { + login: 'dummy-login', + type: 'User' + } + ]; }); - describe('when the given issue does not have an assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = []; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); + expect(result).toStrictEqual(false); + }); + }); - expect(result).toStrictEqual(false); - }); + describe('when the given issue does have an assignee equaling the exempt issue assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-exempt-issue-assignee', + type: 'User' + } + ]; }); - describe('when the given issue does have an assignee different than the exempt issue assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-login', - type: 'User' - } - ]; - }); + it('should return true', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); + expect(result).toStrictEqual(true); + }); + }); + }); - expect(result).toStrictEqual(false); - }); + describe('when the given options are not configured to exempt an issue with an assignee', (): void => { + beforeEach((): void => { + optionsInterface.exemptIssueAssignees = ''; + }); + + describe('when the given issue does not have an assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = []; }); - describe('when the given issue does have an assignee equaling the exempt issue assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-exempt-issue-assignee', - type: 'User' - } - ]; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return true', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); + expect(result).toStrictEqual(false); + }); + }); - expect(result).toStrictEqual(true); - }); + describe('when the given issue does have an assignee different than the exempt assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-login', + type: 'User' + } + ]; }); - describe('when the given issue does have an assignee different than the exempt assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-login', - type: 'User' - } - ]; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); + expect(result).toStrictEqual(false); + }); + }); - expect(result).toStrictEqual(false); - }); + describe('when the given issue does have an assignee equaling the exempt assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-exempt-assignee', + type: 'User' + } + ]; }); - describe('when the given issue does have an assignee equaling the exempt assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-exempt-assignee', - type: 'User' - } - ]; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); + expect(result).toStrictEqual(false); + }); + }); + }); - expect(result).toStrictEqual(false); - }); + describe('when the given options are configured to exempt an issue with an assignee', (): void => { + beforeEach((): void => { + optionsInterface.exemptIssueAssignees = 'dummy-exempt-issue-assignee'; + }); + + describe('when the given issue does not have an assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = []; + }); + + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); + + const result = assignees.shouldExemptAssignees(); + + expect(result).toStrictEqual(false); + }); + }); + + describe('when the given issue does have an assignee different than the exempt issue assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-login', + type: 'User' + } + ]; + }); + + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); + + const result = assignees.shouldExemptAssignees(); + + expect(result).toStrictEqual(false); + }); + }); + + describe('when the given issue does have an assignee equaling the exempt issue assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-exempt-issue-assignee', + type: 'User' + } + ]; + }); + + it('should return true', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); + + const result = assignees.shouldExemptAssignees(); + + expect(result).toStrictEqual(true); + }); + }); + + describe('when the given issue does have an assignee different than the exempt assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-login', + type: 'User' + } + ]; + }); + + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); + + const result = assignees.shouldExemptAssignees(); + + expect(result).toStrictEqual(false); + }); + }); + + describe('when the given issue does have an assignee equaling the exempt assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-exempt-assignee', + type: 'User' + } + ]; + }); + + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); + + const result = assignees.shouldExemptAssignees(); + + expect(result).toStrictEqual(false); }); }); }); @@ -409,291 +395,279 @@ describe('Assignees', (): void => { issueInterface.pull_request = {}; }); - describe('when the given options are not configured to exempt an assignee', (): void => { + describe('when the given options are not configured to exempt a pull request with an assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptAssignees = ''; + optionsInterface.exemptPrAssignees = ''; }); - describe('when the given options are not configured to exempt a pull request with an assignee', (): void => { + describe('when the given pull request does not have an assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptPrAssignees = ''; + issueInterface.assignees = []; }); - describe('when the given pull request does not have an assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = []; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); - }); - - describe('when the given pull request does have an assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-login', - type: 'User' - } - ]; - }); - - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); - - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); + expect(result).toStrictEqual(false); }); }); - describe('when the given options are configured to exempt a pull request with an assignee', (): void => { + describe('when the given pull request does have an assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptPrAssignees = 'dummy-exempt-pr-assignee'; + issueInterface.assignees = [ + { + login: 'dummy-login', + type: 'User' + } + ]; }); - describe('when the given pull request does not have an assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = []; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); - }); - - describe('when the given pull request does have an assignee different than the exempt pull request assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-login', - type: 'User' - } - ]; - }); - - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); - - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); - }); - - describe('when the given pull request does have an assignee equaling the exempt pull request assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-exempt-pr-assignee', - type: 'User' - } - ]; - }); - - it('should return true', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); - - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(true); - }); + expect(result).toStrictEqual(false); }); }); }); - describe('when the given options are configured to exempt an assignee', (): void => { + describe('when the given options are configured to exempt a pull request with an assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptAssignees = 'dummy-exempt-assignee'; + optionsInterface.exemptPrAssignees = 'dummy-exempt-pr-assignee'; }); - describe('when the given options are not configured to exempt a pull request with an assignee', (): void => { + describe('when the given pull request does not have an assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptPrAssignees = ''; + issueInterface.assignees = []; }); - describe('when the given pull request does not have an assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = []; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); - }); - - describe('when the given pull request does have an assignee different than the exempt assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-login', - type: 'User' - } - ]; - }); - - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); - - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(false); - }); - }); - - describe('when the given pull request does have an assignee equaling the exempt assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-exempt-assignee', - type: 'User' - } - ]; - }); - - it('should return true', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); - - const result = assignees.shouldExemptAssignees(); - - expect(result).toStrictEqual(true); - }); + expect(result).toStrictEqual(false); }); }); - describe('when the given options are configured to exempt a pull request with an assignee', (): void => { + describe('when the given pull request does have an assignee different than the exempt pull request assignee', (): void => { beforeEach((): void => { - optionsInterface.exemptPrAssignees = 'dummy-exempt-pr-assignee'; + issueInterface.assignees = [ + { + login: 'dummy-login', + type: 'User' + } + ]; }); - describe('when the given pull request does not have an assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = []; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); + expect(result).toStrictEqual(false); + }); + }); - expect(result).toStrictEqual(false); - }); + describe('when the given pull request does have an assignee equaling the exempt pull request assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-exempt-pr-assignee', + type: 'User' + } + ]; }); - describe('when the given pull request does have an assignee different than the exempt pull request assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-login', - type: 'User' - } - ]; - }); + it('should return true', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); + expect(result).toStrictEqual(true); + }); + }); + }); - expect(result).toStrictEqual(false); - }); + describe('when the given options are not configured to exempt a pull request with an assignee', (): void => { + beforeEach((): void => { + optionsInterface.exemptPrAssignees = ''; + }); + + describe('when the given pull request does not have an assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = []; }); - describe('when the given pull request does have an assignee equaling the exempt pull request assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-exempt-pr-assignee', - type: 'User' - } - ]; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return true', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); + expect(result).toStrictEqual(false); + }); + }); - expect(result).toStrictEqual(true); - }); + describe('when the given pull request does have an assignee different than the exempt assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-login', + type: 'User' + } + ]; }); - describe('when the given pull request does have an assignee different than the exempt assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-login', - type: 'User' - } - ]; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); + expect(result).toStrictEqual(false); + }); + }); - expect(result).toStrictEqual(false); - }); + describe('when the given pull request does have an assignee equaling the exempt assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-exempt-assignee', + type: 'User' + } + ]; }); - describe('when the given pull request does have an assignee equaling the exempt assignee', (): void => { - beforeEach((): void => { - issueInterface.assignees = [ - { - login: 'dummy-exempt-assignee', - type: 'User' - } - ]; - }); + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); - it('should return false', (): void => { - expect.assertions(1); - issue = new Issue(optionsInterface, issueInterface); - assignees = new Assignees(optionsInterface, issue); + const result = assignees.shouldExemptAssignees(); - const result = assignees.shouldExemptAssignees(); + expect(result).toStrictEqual(false); + }); + }); + }); - expect(result).toStrictEqual(false); - }); + describe('when the given options are configured to exempt a pull request with an assignee', (): void => { + beforeEach((): void => { + optionsInterface.exemptPrAssignees = 'dummy-exempt-pr-assignee'; + }); + + describe('when the given pull request does not have an assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = []; + }); + + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); + + const result = assignees.shouldExemptAssignees(); + + expect(result).toStrictEqual(false); + }); + }); + + describe('when the given pull request does have an assignee different than the exempt pull request assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-login', + type: 'User' + } + ]; + }); + + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); + + const result = assignees.shouldExemptAssignees(); + + expect(result).toStrictEqual(false); + }); + }); + + describe('when the given pull request does have an assignee equaling the exempt pull request assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-exempt-pr-assignee', + type: 'User' + } + ]; + }); + + it('should return true', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); + + const result = assignees.shouldExemptAssignees(); + + expect(result).toStrictEqual(true); + }); + }); + + describe('when the given pull request does have an assignee different than the exempt assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-login', + type: 'User' + } + ]; + }); + + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); + + const result = assignees.shouldExemptAssignees(); + + expect(result).toStrictEqual(false); + }); + }); + + describe('when the given pull request does have an assignee equaling the exempt assignee', (): void => { + beforeEach((): void => { + issueInterface.assignees = [ + { + login: 'dummy-exempt-assignee', + type: 'User' + } + ]; + }); + + it('should return false', (): void => { + expect.assertions(1); + issue = new Issue(optionsInterface, issueInterface); + assignees = new Assignees(optionsInterface, issue); + + const result = assignees.shouldExemptAssignees(); + + expect(result).toStrictEqual(false); }); }); }); diff --git a/src/classes/assignees.ts b/src/classes/assignees.ts index a1bca173..71014832 100644 --- a/src/classes/assignees.ts +++ b/src/classes/assignees.ts @@ -96,31 +96,7 @@ export class Assignees { )} is disabled. No specific assignee can skip the stale process for this $$type` ); - if (this._options.exemptAssignees === '') { - this._issueLogger.info( - LoggerService.white('├──'), - `The option ${this._issueLogger.createOptionLink( - Option.ExemptAssignees - )} is disabled. No specific assignee can skip the stale process for this $$type` - ); - - return []; - } - - const exemptAssignees: string[] = wordsToList( - this._options.exemptAssignees - ); - - this._issueLogger.info( - LoggerService.white('├──'), - `The option ${this._issueLogger.createOptionLink( - Option.ExemptAssignees - )} is set. ${LoggerService.cyan(exemptAssignees.length)} assignee${ - exemptAssignees.length === 1 ? '' : 's' - } can skip the stale process for this $$type` - ); - - return exemptAssignees; + return []; } const exemptAssignees: string[] = wordsToList( @@ -148,31 +124,7 @@ export class Assignees { )} is disabled. No specific assignee can skip the stale process for this $$type` ); - if (this._options.exemptAssignees === '') { - this._issueLogger.info( - LoggerService.white('├──'), - `The option ${this._issueLogger.createOptionLink( - Option.ExemptAssignees - )} is disabled. No specific assignee can skip the stale process for this $$type` - ); - - return []; - } - - const exemptAssignees: string[] = wordsToList( - this._options.exemptAssignees - ); - - this._issueLogger.info( - LoggerService.white('├──'), - `The option ${this._issueLogger.createOptionLink( - Option.ExemptAssignees - )} is set. ${LoggerService.cyan(exemptAssignees.length)} assignee${ - exemptAssignees.length === 1 ? '' : 's' - } can skip the stale process for this $$type` - ); - - return exemptAssignees; + return []; } const exemptAssignees: string[] = wordsToList( diff --git a/src/classes/issue.spec.ts b/src/classes/issue.spec.ts index a17f100c..0dbe1b4c 100644 --- a/src/classes/issue.spec.ts +++ b/src/classes/issue.spec.ts @@ -49,7 +49,6 @@ describe('Issue', (): void => { exemptAllMilestones: false, exemptAllIssueMilestones: undefined, exemptAllPrMilestones: undefined, - exemptAssignees: '', exemptIssueAssignees: '', exemptPrAssignees: '', exemptAllIssueAssignees: false, diff --git a/src/enums/option.ts b/src/enums/option.ts index 916cd84e..a69e19c6 100644 --- a/src/enums/option.ts +++ b/src/enums/option.ts @@ -34,7 +34,6 @@ export enum Option { ExemptAllMilestones = 'exempt-all-milestones', ExemptAllIssueMilestones = 'exempt-all-issue-milestones', ExemptAllPrMilestones = 'exempt-all-pr-milestones', - ExemptAssignees = 'exempt-assignees', ExemptIssueAssignees = 'exempt-issue-assignees', ExemptPrAssignees = 'exempt-pr-assignees', ExemptAllIssueAssignees = 'exempt-all-issue-assignees', diff --git a/src/interfaces/issues-processor-options.ts b/src/interfaces/issues-processor-options.ts index 9de4c6b5..9817cb69 100644 --- a/src/interfaces/issues-processor-options.ts +++ b/src/interfaces/issues-processor-options.ts @@ -38,7 +38,6 @@ export interface IIssuesProcessorOptions { exemptAllMilestones: boolean; exemptAllIssueMilestones: boolean | undefined; exemptAllPrMilestones: boolean | undefined; - exemptAssignees: string; exemptIssueAssignees: string; exemptPrAssignees: string; exemptAllIssueAssignees: boolean; diff --git a/src/main.ts b/src/main.ts index eedbf8ed..d9d29879 100644 --- a/src/main.ts +++ b/src/main.ts @@ -75,7 +75,6 @@ function _getAndValidateArgs(): IIssuesProcessorOptions { exemptAllMilestones: core.getInput('exempt-all-milestones') === 'true', exemptAllIssueMilestones: _toOptionalBoolean('exempt-all-issue-milestones'), exemptAllPrMilestones: _toOptionalBoolean('exempt-all-pr-milestones'), - exemptAssignees: core.getInput('exempt-assignees'), exemptIssueAssignees: core.getInput('exempt-issue-assignees'), exemptPrAssignees: core.getInput('exempt-pr-assignees'), exemptAllIssueAssignees: