Skip to content

Commit 1994544

Browse files
committed
Fix pagination for commits and PRs with 100+ changed files
The ref and pull_request strategies both fetched only the first 100 files from the GitHub API without following Link headers. For commits with more than 100 changed files, the callback only saw the first page, causing the dox_graphql_publish_changes workflow to skip publishing when the SDL file was beyond position 100. This caused the doximity subgraph schema publish to be silently skipped for HG-601 (PR #49569, 228 files changed) — the SDL file config/graphql/federation_subgraph_schema.gql was at position >100. Changes: - Add getPaginated method to GithubApiClient that follows Link headers - Update RefStrategy to merge files across all pages - Update PullRequestStrategy to flatten results across all pages - Add unit tests for pagination behavior - Bump version to 1.1.0 - Update action.yml from node16 to node20 (node16 is deprecated) CSVUEAN-3043
1 parent 07b2f2f commit 1994544

9 files changed

Lines changed: 457 additions & 243 deletions

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ outputs:
2020
callback_return:
2121
description: 'The return of the callback function'
2222
runs:
23-
using: 'node16'
23+
using: 'node24'
2424
main: 'dist/index.js'

0 commit comments

Comments
 (0)