urcomputeringpal/Run a TypeScript function

Helper workflow wrapping actions/github-script with TypeScript

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenThe GitHub token used to create an authenticated client${{ github.token }}
pathPath to the functionsyes${{ github.workspace }}/.github
distThe primary path to the generated files inside your path directory. Your build script should generate an index.js at this path. dist
buildBuild command. This command is expected to generate an index.js in the path directory. npm run build
functionName of the function to call""
argsArguments to pass to the function{github, context, core, exec, io, fetch}
debugWhether to tell the GitHub client to log details of its requests. true or false. Default is to run in debug mode when the GitHub Actions step debug logging is turned on.${{ runner.debug == '1' }}
user-agentAn optional user-agent stringactions/github-script
previewsA comma-separated list of API previews to accept
result-encodingHow the result will be encoded. Either "string" or "json" (default "string"). string
retriesThe number of times to retry a request0
retry-exempt-status-codesA comma separated list of status codes that will NOT be retried e.g. "400,500". No effect unless `retries` is set400,401,403,404,422
namedescription
resultResult of the script
moduleModule to import if calling actions/github-script directly