Skip to content

Commit 2f64964

Browse files
fix(ci): strip ${{ }} from composite-action input descriptions
GitHub evaluates ${{ }} even inside input description: strings; the example '${{ secrets... }}' text triggered Unrecognized-named-value. Plain text now; only runs: keeps inputs.* expressions. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 61a2926 commit 2f64964

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/actions/nr-ci-event/action.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ inputs:
2222
license-key:
2323
description: >-
2424
NR ingest license key (Insert Key for the Event API). Pass
25-
${{ secrets.NEW_RELIC_LICENSE_KEY }}. Empty => action no-ops (dry-run log).
25+
`secrets.NEW_RELIC_LICENSE_KEY`. Empty => action no-ops (dry-run log).
2626
required: false
2727
default: ''
2828
account-id:
2929
description: >-
30-
Numeric NR account id. Pass ${{ secrets.NEW_RELIC_ACCOUNT_ID }}.
30+
Numeric NR account id. Pass `secrets.NEW_RELIC_ACCOUNT_ID`.
3131
Empty => action no-ops (dry-run log).
3232
required: false
3333
default: ''
@@ -38,7 +38,7 @@ inputs:
3838

3939
# --- event payload (caller fills from the GitHub context + job result) ---
4040
result:
41-
description: 'pass | fail — usually ${{ job.status == ''success'' && ''pass'' || ''fail'' }}.'
41+
description: 'pass | fail — usually `job.status == ''success'' && ''pass'' || ''fail''`.'
4242
required: true
4343
suite:
4444
description: >-
@@ -47,26 +47,26 @@ inputs:
4747
required: true
4848
# NOTE: composite actions cannot read the `github` context in their own
4949
# expressions, so the caller MUST pass these from its `with:` block (e.g.
50-
# repo: ${{ github.repository }}). The defaults below only apply when a caller
50+
# repo: `github.repository`). The defaults below only apply when a caller
5151
# omits them entirely.
5252
repo:
53-
description: 'Repository (owner/name). Caller passes ${{ github.repository }}.'
53+
description: 'Repository (owner/name). Caller passes `github.repository`.'
5454
required: false
5555
default: ''
5656
workflow:
57-
description: 'Workflow name. Caller passes ${{ github.workflow }}.'
57+
description: 'Workflow name. Caller passes `github.workflow`.'
5858
required: false
5959
default: ''
6060
branch:
61-
description: 'Branch ref name. Caller passes ${{ github.ref_name }}.'
61+
description: 'Branch ref name. Caller passes `github.ref_name`.'
6262
required: false
6363
default: ''
6464
commit-sha:
65-
description: 'Commit SHA under test. Caller passes ${{ github.sha }}.'
65+
description: 'Commit SHA under test. Caller passes `github.sha`.'
6666
required: false
6767
default: ''
6868
pr-number:
69-
description: 'PR number (empty on push). Caller passes ${{ github.event.pull_request.number }}.'
69+
description: 'PR number (empty on push). Caller passes `github.event.pull_request.number`.'
7070
required: false
7171
default: ''
7272
duration-ms:
@@ -82,11 +82,11 @@ inputs:
8282
required: false
8383
default: ''
8484
event-name:
85-
description: 'GitHub event name. Caller passes ${{ github.event_name }}.'
85+
description: 'GitHub event name. Caller passes `github.event_name`.'
8686
required: false
8787
default: ''
8888
actor:
89-
description: 'GitHub actor. Caller passes ${{ github.actor }}.'
89+
description: 'GitHub actor. Caller passes `github.actor`.'
9090
required: false
9191
default: ''
9292

0 commit comments

Comments
 (0)