diff --git a/src/Helper/PRStatsHelper.php b/src/Helper/PRStatsHelper.php index 0619b57..6f30676 100644 --- a/src/Helper/PRStatsHelper.php +++ b/src/Helper/PRStatsHelper.php @@ -27,7 +27,7 @@ public static function getTypesWithUrls(bool $outputApiUrl = true): array } $mapping = [ - PRWaitingStat::PR_WAITING_FOR_REVIEW => 'q=org%3APrestaShop+is%3Apr+is%3Aopen+review%3Arequired+archived%3Afalse', + PRWaitingStat::PR_WAITING_FOR_REVIEW => 'q=org%3APrestaShop+is%3Apr+is%3Aopen+-label%3A%22waiting+for+QA%22+-label%3A%22waiting+for+UX%22+-label%3A%22waiting+for+author%22+-label%3A%22waiting+for+PM%22+-label%3A%22waiting+for+rebase%22+-label%3A%22QA+%E2%9C%94%EF%B8%8F%22+-label%3AWIP+archived%3Afalse+-repo%3Aprestashop%2Fprestashop-specs+draft%3Afalse', PRWaitingStat::PR_WAITING_FOR_QA => 'q=org%3APrestaShop+is%3Apr+is%3Aopen+label%3A"Waiting+for+QA"+archived%3Afalse', PRWaitingStat::PR_WAITING_FOR_PM => 'q=org%3APrestaShop+is%3Apr+is%3Aopen+label%3A"Waiting+for+PM"+archived%3Afalse', PRWaitingStat::PR_WAITING_FOR_DEV => 'q=org%3APrestaShop+is%3Apr+is%3Aopen+label%3A"Waiting+for+dev"+archived%3Afalse+sort%3Aupdated-asc', diff --git a/src/Helper/PRWaitingReviewStatusRecordService.php b/src/Helper/PRWaitingReviewStatusRecordService.php index 57cc8c2..4a0cb6f 100644 --- a/src/Helper/PRWaitingReviewStatusRecordService.php +++ b/src/Helper/PRWaitingReviewStatusRecordService.php @@ -43,7 +43,7 @@ public function __construct(string $githubToken, EntityManager $entityManager) */ public static function getURL($forAPI = false): string { - $filters = 'q=is%3Aopen+is%3Apr+org%3APrestaShop+is%3Apr+is%3Aopen+review%3Arequired+draft%3Afalse+-label%3A%22Waiting+for+author%22+'; + $filters = 'https://github.com/pulls?page=1&q=org%3APrestaShop+is%3Apr+is%3Aopen+-label%3A%22waiting+for+QA%22+-label%3A%22waiting+for+UX%22+-label%3A%22waiting+for+author%22+-label%3A%22waiting+for+PM%22+-label%3A%22waiting+for+rebase%22+-label%3A%22QA+%E2%9C%94%EF%B8%8F%22+-label%3AWIP+archived%3Afalse+-repo%3Aprestashop%2Fprestashop-specs+draft%3Afalse'; if ($forAPI) { return 'https://api.github.com/search/issues?per_page=100&' . $filters;