chore(scripts): auto authenticate gh CLI in scripts on dogfood (#13107)

* chore: auto authenticate gh CLI in scripts

* fix shellcheck issues
This commit is contained in:
Muhammad Atif Ali
2024-04-30 19:36:12 +03:00
committed by GitHub
parent 53f7e9e0a1
commit 3ff9cef498
6 changed files with 34 additions and 1 deletions
@@ -57,6 +57,9 @@ done
# Check dependencies.
dependencies gh sort
# Authticate gh CLI
gh_auth
if [[ -z ${old_version} ]]; then
error "No old version specified"
fi