Skip to content

Commit 7ae3ef4

Browse files
authored
fix: GH_TOKEN
1 parent feff562 commit 7ae3ef4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

entrypoint.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
set -Eeuo pipefail
33

44
if [[ "${GITHUB_TOKEN:-}" ]]; then
5-
export GITHUB_TOKEN="$INPUT_TOKEN"
5+
export GH_TOKEN="$INPUT_TOKEN"
6+
echo "export GH_TOKEN=$INPUT_TOKEN"
7+
else
8+
export GH_TOKEN="$GITHUB_TOKEN"
69
fi
710

811
[ -z "$INPUT_TITLE" ] && INPUT_TITLE="Name"

0 commit comments

Comments
 (0)