JavaScript action (written in TypeScript) to dispatch a workflow with a given inputs.
name | description | type | required | default |
---|---|---|---|---|
template |
Template string to render (Supports ETA syntax). Or a path to file containing template. |
string |
true |
"" |
varName |
Name of the variable which holds all data to be used in the template (variables). |
string |
false |
it |
variables |
Variables to substitute in the template. You can use YAML, JSON or dotenv format. See examples |
string |
false |
"" |
name | type | description |
---|---|---|
text |
string |
Rendered template string |
...
This whole project have to be in commonJs because GitHub actions don't support ES6 modules.
The scripts and documentation in this project are released under the MIT License