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:
parent
319d9e78fb
commit
80aa1d1367
1 changed files with 2 additions and 0 deletions
2
.github/scripts/pr-backport.sh
vendored
2
.github/scripts/pr-backport.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue