silverlyra/JavaScript action

Run a JavaScript snippet within a GitHub workflow

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
scriptThe script to run (or a script filename)yes
nameBase filename to assign to the script (if inline)script
inputInput data to make available to your scriptno""
input-encodingUse "json" to JSON-decode the "input" input, or "string" to expose the raw input string to your function. (default: "json")yesjson
result-encodingUse "json" to JSON-encode the script's return value, or "string" to return a string directly. (default: "json")yesjson
cwdDirectory to change into.
github-tokenCreate an authenticated GitHub client${{ github.token }}
namedescription
resultWhat the script returned, encoded according to "result-encoding"