From abcfd5301e23052903f1ddbe0221056fb8b8cb29 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 11 Mar 2026 04:27:57 +0000 Subject: [PATCH] New commit added --- github-api-integration-module.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-api-integration-module.sh b/github-api-integration-module.sh index d94d2951..d73466b4 100644 --- a/github-api-integration-module.sh +++ b/github-api-integration-module.sh @@ -32,7 +32,7 @@ function rest_call { # single page result-s (no pagination), have no Link: section, the grep result is empty last_page=`curl -s -I "https://api.github.com${GITHUB_API_REST}" -H "${GITHUB_API_HEADER_ACCEPT}" -H "Authorization: token $GITHUB_TOKEN" | grep '^Link:' | sed -e 's/^Link:.*page=//g' -e 's/>.*$//g'` - +# Added line into file # does this result use pagination? if [ -z "$last_page" ]; then # no - this result has only one page