From 25f6ec3fc275b32766b4051eef2ae0d2a3a1f3ef Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 5 Aug 2025 14:01:06 +0000 Subject: [PATCH] fix: do not preserve spaces in the token (#80) If a token has trailing whitespace by accident, they must not be preserved. Do not quote the value so that they are trimmed by shell evaluation. Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/80 Co-authored-by: Earl Warren Co-committed-by: Earl Warren --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 2c70085..f6725c7 100644 --- a/action.yml +++ b/action.yml @@ -88,7 +88,7 @@ runs: export HIDE_ARCHIVE_LINK="${{ inputs.hide-archive-link }}" - export TOKEN="${{ inputs.token }}" + export TOKEN=${{ inputs.token }} export RELEASE_DIR="${{ inputs.release-dir }}"