From a9ec96b11c1855756fb43dd6419f3d321e70120c Mon Sep 17 00:00:00 2001 From: Ville Brofeldt Date: Mon, 8 Mar 2021 23:35:03 +0200 Subject: [PATCH] ci: increase page size of GH PR API call --- scripts/ci_check_no_file_changes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci_check_no_file_changes.sh b/scripts/ci_check_no_file_changes.sh index 80a89cc51cd47..e03a6aca54c62 100755 --- a/scripts/ci_check_no_file_changes.sh +++ b/scripts/ci_check_no_file_changes.sh @@ -27,7 +27,7 @@ if [[ -z ${PR_NUMBER} ]]; then exit 1 fi -URL="https://api.github.com/repos/${GITHUB_REPO}/pulls/${PR_NUMBER}/files" +URL="https://api.github.com/repos/${GITHUB_REPO}/pulls/${PR_NUMBER}/files?per_page=1000" FILES=$(curl -s -X GET -G "${URL}" | jq -r '.[] | .filename') REGEXES=()