We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
gh auth status
1 parent b3c7215 commit 079e1c7Copy full SHA for 079e1c7
tooling/mirror-community-pull-request.sh
@@ -51,6 +51,8 @@ fi
51
echo "- Checking requirements"
52
# Check gh is installed
53
gh --version 1>/dev/null 2>&1 || { echo "❌ gh is not installed. Please install GitHub CLI."; exit 1; }
54
+# Check that user is logged into gh cli
55
+gh auth status 1>/dev/null 2>&1 || { echo "❌ Not logged into Github CLI. Please login with \`gh auth login\`."; exit 1; }
56
# Check jq is installed
57
jq --version 1>/dev/null 2>&1 || { echo "❌ jq is not installed. Please install jq."; exit 1; }
58
# Check there are no local changes
0 commit comments