We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06bb9e0 commit 602df6aCopy full SHA for 602df6a
1 file changed
entrypoint.sh
@@ -2,7 +2,11 @@
2
set -Eeuo pipefail
3
4
if [ -z "${GITHUB_TOKEN:-}" ]; then
5
- export GITHUB_TOKEN="$INPUT_TOKEN"
+ if [ -n "${INPUT_TOKEN:-}" ]; then
6
+ export GITHUB_TOKEN="$INPUT_TOKEN"
7
+ else
8
+ echo "The token input is not set!" && exit 1
9
+ fi
10
fi
11
12
[ -z "$INPUT_TITLE" ] && INPUT_TITLE="Name"
0 commit comments