Skip to content

Commit 275fcee

Browse files
authored
Merge pull request #129 from urubos/patch-1
Create list-repositories-for-the-authenticated-user.sh
2 parents 2bd20a9 + 3147cef commit 275fcee

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
. ./.gh-api-examples.conf
2+
3+
# https://docs.github.com/en/rest/repos/repos#list-repositories-for-the-authenticated-user
4+
# GET /user/repos
5+
6+
7+
curl ${curl_custom_flags} \
8+
-H "Accept: application/vnd.github.v3+json" \
9+
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
10+
"${GITHUB_API_BASE_URL}/user/repos"

0 commit comments

Comments
 (0)