Skip to content
Snippets Groups Projects

GH_TOKEN is always empty string as initialized

Merged Mikaël Barbero requested to merge fix-gh_token into main
1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
@@ -48,7 +48,6 @@ Options:
}
ACTION=""
GH_TOKEN=""
while getopts "apj" opt; do
case "${opt}" in
@@ -75,7 +74,7 @@ fi
shift $((OPTIND-1))
if [ -z "$GH_TOKEN" ]; then
if [[ -z "${GH_TOKEN:-}" ]]; then
read -p "Enter your GitHub token: " -r GH_TOKEN
export GH_TOKEN
fi
Loading