Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Foundation
Security
scripts
Merge requests
!6
Check if GitHub CLI tool is installed
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Check if GitHub CLI tool is installed
fgurr/scripts:main
into
main
Overview
0
Commits
1
Changes
1
Merged
Frederic Gurr
requested to merge
fgurr/scripts:main
into
main
1 year ago
Overview
0
Commits
1
Changes
1
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
22f0ffec
1 commit,
1 year ago
1 file
+
7
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
github/github-membership.sh
+
7
−
0
Options
@@ -79,6 +79,13 @@ if [[ -z "${GH_TOKEN:-}" ]]; then
export
GH_TOKEN
fi
command
-v
gh
>
/dev/null 2>&1
||
{
echo
>
&2
"This script requires the GitHub CLI tool (gh), but it's not installed."
echo
>
&2
"Please download and install it from https://github.com/cli/cli."
echo
>
&2
"Aborting."
exit
1
}
case
$ACTION
in
"list-active"
)
list_active_membership
;;
"list-pending"
)
list_pending_membership
;;
Loading