Commit c444498
authored
pr-size-labeler - fetch change info for the maximum number of files (#7749)
By default the GHA endpoint `pulls/PULL_NUMBER/files` retrieves
change data for up to 30 files which is insufficient for PRs that
touch more files. Here we increase the count to the maximum
`per_page` limit of 100.
It does not seem worthwhile to add pagination processing as
in the last year only 1% of PRs touched more than 100 files.
Ref:
https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#list-pull-requests-files1 parent 3e0e213 commit c444498
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments