From 859c272747fb77a530dbb797f9525bafd79edcf6 Mon Sep 17 00:00:00 2001 From: Larslllllll Date: Tue, 18 Aug 2026 22:56:44 +0200 Subject: [PATCH] fix(action): remove ${{ secrets.* }} template from the github-token input description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub evaluates ${{ }} expressions in action.yml metadata, including inside description strings. The github-token description embedded ${{ secrets.GITHUB_TOKEN }} as illustrative text, so every consumer of the action failed at load time: Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GITHUB_TOKEN (Line: 9, Col: 18) Line 9 col 18 is the start of that description value — not the `default:` on line 11, which already correctly uses ${{ github.token }} and is valid in action metadata. Rewrites the description as plain prose so no expression is parsed. Behaviour is unchanged; the action simply loads again. Fixes #3 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 72f47a1..69f4a2e 100644 --- a/action.yml +++ b/action.yml @@ -6,7 +6,7 @@ branding: color: 'purple' inputs: github-token: - description: 'Token used to read comments and post replies/labels. Usually ${{ secrets.GITHUB_TOKEN }}.' + description: 'Token used to read comments and post replies/labels. Pass secrets.GITHUB_TOKEN from your workflow.' required: true default: ${{ github.token }} coinpay-api-key: