angular-cn/aio/aio-builds-setup/dockerbuild/scripts-js/lib/verify-setup
George Kalpakas f378454c92 fix(docs-infra): correctly check PR files on preview server (#25671)
According to the docs, the response of GitHub's [PR files API][1]
_"includes a maximum of 300 files"_. This means that if a PR contains
more files, it is possible that not all files are retrieved (which
could, for example, give a false negative for the "significant files
touched" check - not likely but possible).

This commit fixes it by using paginated requests to retrieve all changed
files.

[1]: https://developer.github.com/v3/pulls/#list-pull-requests-files

PR Close #25671
2018-09-26 15:26:19 -07:00
..
constants.ts ci(docs-infra): change AIO preview server stuff to pull builds from CircleCI 2018-08-16 10:26:13 +01:00
delete-empty.d.ts ci(docs-infra): change AIO preview server stuff to pull builds from CircleCI 2018-08-16 10:26:13 +01:00
helper.ts refactor(docs-infra): use mockable logger (#25671) 2018-09-26 15:26:19 -07:00
index.ts ci(aio): add initial implementation for aio-builds setup 2017-03-07 18:24:45 -08:00
jasmine-custom-matchers-types.d.ts ci(docs-infra): change AIO preview server stuff to pull builds from CircleCI 2018-08-16 10:26:13 +01:00
jasmine-custom-matchers.ts ci(docs-infra): add explicit return types to methods 2018-08-16 10:26:13 +01:00
mock-external-apis.ts fix(docs-infra): correctly check PR files on preview server (#25671) 2018-09-26 15:26:19 -07:00
nginx.e2e.ts ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
preview-server.e2e.ts ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
server-integration.e2e.ts ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
start-test-preview-server.ts ci(docs-infra): rename 'upload-server' to 'preview-server' 2018-08-16 10:26:13 +01:00
tar-stream.d.ts ci(docs-infra): change AIO preview server stuff to pull builds from CircleCI 2018-08-16 10:26:13 +01:00