do not run workflow if there is no secret

pull/11677/head
Sharif Elgamal 2021-06-17 13:25:13 -07:00
parent d37a3e0ba2
commit f8b2ebcc63
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@
set -e
if [ "$#" -ne 1 ]; then
# there's no secret and therefore no reason to run this script
exit 0
fi
install_gh() {
export access_token="$1"