Skip to content

Commit feff562

Browse files
authored
fix: Check unbound
1 parent 3a89401 commit feff562

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/usr/bin/env bash
22
set -Eeuo pipefail
33

4-
if [ -z "$GITHUB_TOKEN" ]; then
5-
echo "Setting token..."
4+
if [[ "${GITHUB_TOKEN:-}" ]]; then
65
export GITHUB_TOKEN="$INPUT_TOKEN"
76
fi
87

0 commit comments

Comments
 (0)