Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-36634: [Dev] Ensure merge script goes over all pages when requesti…
…ng info from GitHub (#36637) ### Rationale for this change We currently were missing maintenance branches due to pagination on GH API. ### What changes are included in this PR? Check whether the API is returning a paginated view and extend the list returned. ### Are these changes tested? I have tested locally: ``` (Pdb) pr.maintenance_branches ['maint-0.11.x', 'maint-0.12.x', 'maint-0.14.x', 'maint-0.15.x', 'maint-0.17.x', 'maint-1.0.x', 'maint-3.0.x', 'maint-4.0.x', 'maint-6.0.x', 'maint-7.0.x', 'maint-7.0.1', 'maint-8.0.x', 'maint-9.0.0', 'maint-10.0.x', 'maint-10.0.0', 'maint-10.0.1', 'maint-11.0.0', 'maint-12.0.x', 'maint-12.0.0', 'maint-12.0.1', 'maint-13.0.0'] (Pdb) c Enter fix version [14.0.0]: ``` ### Are there any user-facing changes? No * Closes: #36634 Lead-authored-by: Raúl Cumplido <raulcumplido@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
- Loading branch information