From 536c83a1b9b6e440d9efcdaa84f2886417fd8b83 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 29 Dec 2021 16:54:29 +0000 Subject: [PATCH] updated github_repo_collaborators.sh --- github_repo_collaborators.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/github_repo_collaborators.sh b/github_repo_collaborators.sh index 57f02e1d..29e0caf9 100755 --- a/github_repo_collaborators.sh +++ b/github_repo_collaborators.sh @@ -25,7 +25,7 @@ srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # shellcheck disable=SC2034,SC2154 usage_description=" -Lists a GitHub repo's collaborators (users granted access via teams, or outside invited collaborators) and their permissions using the GitHub API +Lists a GitHub repo's collaborators (users granted access via teams, or outside invited collaborators) and their role name permissions using the GitHub API If no repo is given, infers from local repo's git remotes @@ -53,5 +53,6 @@ if [ -z "$repo" ]; then fi "$srcdir/github_api.sh" "/repos/$repo/collaborators" | +jq_debug_pipe_dump | jq -r ".[] | [\"$repo\", .login, .role_name] | @tsv" | column -t