Skip to content

Commit 6cf59c7

Browse files
B4nanclaude
andauthored
fix(pnpm-install): drop ${{ }} expression from description (#278)
The description line included a literal `\${{ secrets.GH_REGISTRY_TOKEN }}` inside a backtick-quoted example. GitHub Actions evaluates `\${{ ... }}` inside a composite action's `inputs.<name>.description` even though the text isn't actually an expression context — and `secrets` is rejected from inside an action file: Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GH_REGISTRY_TOKEN That broke every consumer that picked up @main since the merge of #277. Reword the description without an example expression, and switch to a folded scalar so we don't accidentally include `\${{ }}` again. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d035277 commit 6cf59c7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

pnpm-install/action.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ inputs:
77
required: false
88
default: "."
99
github-registry-token:
10-
description: |
10+
description: >-
1111
Optional auth token for the GitHub npm registry (npm.pkg.github.com).
12-
When set, configures `//npm.pkg.github.com/:_authToken=<token>` in the
12+
When set, configures //npm.pkg.github.com/:_authToken=<token> in the
1313
user-global ~/.npmrc before installing, so private @<scope>/* packages
1414
published to the GitHub registry resolve. Caller should pass a token
15-
with read access to the relevant packages (e.g. a service account PAT
16-
via `${{ secrets.GH_REGISTRY_TOKEN }}`). Leave unset for repos that
17-
install only from the public npm registry.
15+
with read access to the relevant packages (e.g. a service-account PAT
16+
from a repo secret). Leave unset for repos that install only from the
17+
public npm registry.
1818
required: false
1919
default: ""
2020

0 commit comments

Comments
 (0)