From 6e5380136cc2990862496cf1f635a8a8960ed469 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 17 Mar 2026 23:07:02 +0530 Subject: [PATCH 1/5] update github.sh --- README.md | 2 +- github-api-integration-module.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6345487..f7eebcf4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Shell -Schell Scripts +Schell Scripts 12345 diff --git a/github-api-integration-module.sh b/github-api-integration-module.sh index d94d2951..77b57c21 100644 --- a/github-api-integration-module.sh +++ b/github-api-integration-module.sh @@ -40,9 +40,11 @@ if [ -z "$last_page" ]; then else # yes - this result is on multiple pages + #yessssssssssssssssssssssss for p in `seq 1 $last_page`; do rest_call "https://api.github.com${GITHUB_API_REST}?page=$p" done fi cat $TMPFILE +cat $CMD From 51d84b5cccd98213d8d47b68d5c848ddc33b9736 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 17 Mar 2026 23:16:49 +0530 Subject: [PATCH 2/5] update github.sh second change --- github-api-integration-module.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/github-api-integration-module.sh b/github-api-integration-module.sh index 77b57c21..e2507b05 100644 --- a/github-api-integration-module.sh +++ b/github-api-integration-module.sh @@ -41,6 +41,7 @@ else # yes - this result is on multiple pages #yessssssssssssssssssssssss + #noooooo for p in `seq 1 $last_page`; do rest_call "https://api.github.com${GITHUB_API_REST}?page=$p" done From c13098e5462c6ad320c2c248676c5d233214224e Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 17 Mar 2026 23:30:03 +0530 Subject: [PATCH 3/5] update github.sh thirsd change --- github-api-integration-module.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/github-api-integration-module.sh b/github-api-integration-module.sh index e2507b05..6651d452 100644 --- a/github-api-integration-module.sh +++ b/github-api-integration-module.sh @@ -40,6 +40,7 @@ if [ -z "$last_page" ]; then else # yes - this result is on multiple pages + #yesnoyesno #yessssssssssssssssssssssss #noooooo for p in `seq 1 $last_page`; do From 94b21336a204d4c9ada2eef9825aeae718b45b5e Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 17 Mar 2026 23:36:30 +0530 Subject: [PATCH 4/5] update github.sh 4 change --- 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 6651d452..943d2178 100644 --- a/github-api-integration-module.sh +++ b/github-api-integration-module.sh @@ -27,7 +27,7 @@ TMPFILE=`mktemp /tmp/${temp}.XXXXXX` || exit 1 function rest_call { - curl -s $1 -H "${GITHUB_API_HEADER_ACCEPT}" -H "Authorization: token $GITHUB_TOKEN" >> $TMPFILE + curl -s $1 -H "${GITHUB_API_HEADER_ACCEPT}" -H "Authorization: token $GITHUB_TOKEN" >> $TMPFILEEE } # single page result-s (no pagination), have no Link: section, the grep result is empty From d21d6fbd6113719061f76bb254bd85bf0220d061 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 17 Mar 2026 23:38:15 +0530 Subject: [PATCH 5/5] update github.sh 5 change --- 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 943d2178..35b6f6df 100644 --- a/github-api-integration-module.sh +++ b/github-api-integration-module.sh @@ -14,7 +14,7 @@ if [ ${#@} -lt 2 ]; then echo "usage: $0 [your github token] [REST expression]" - exit 1; + exit 0; fi GITHUB_TOKEN=$1