Confusing error message by pr-backport.sh when not authenticated to gh (#25425)

closes #25423

Signed-off-by: mposolda <mposolda@gmail.com>
This commit is contained in:
Marek Posolda 2023-12-08 16:29:27 +01:00 committed by GitHub
parent 319d9e78fb
commit 80aa1d1367
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,8 @@ if ! [ -x "$(command -v gh)" ]; then
error "The GitHub CLI is not installed. See: https://github.com/cli/cli#installation"
fi
gh auth status
if ! [ -x "$(command -v jq)" ]; then
error "The jq CLI is not installed. See: https://jqlang.github.io/jq/download/"
fi