We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9bb8f8 commit 1d16284Copy full SHA for 1d16284
1 file changed
entrypoint.sh
@@ -1,6 +1,12 @@
1
#!/usr/bin/env bash
2
3
set -e
4
+
5
+if [ -z "$GITHUB_TOKEN" ]; then
6
+ echo "GITHUB_TOKEN is not set. Exiting."
7
+ exit 1
8
+fi
9
10
argv=(node /app/github.js "$@")
11
cmd=$(printf '%q ' "${argv[@]}")
12
eval $cmd
0 commit comments