Skip to content

Commit 8a19ac5

Browse files
oalanicolasclaude
andcommitted
fix(ci): paginate listFiles to handle PRs with 100+ changed files
Use github.paginate() instead of a single API call to ensure squad detection works even for large PRs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7174c1d commit 8a19ac5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr-labeling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/github-script@v7
2828
with:
2929
script: |
30-
const { data: files } = await github.rest.pulls.listFiles({
30+
const files = await github.paginate(github.rest.pulls.listFiles, {
3131
owner: context.repo.owner,
3232
repo: context.repo.repo,
3333
pull_number: context.payload.pull_request.number,

0 commit comments

Comments
 (0)