Skip to content

roamingowl/workflow-dispatch

Repository files navigation

Workflow dispatch action

CI CodeQL Coverage Quality Gate Status Esbuild Badge Code Smells

Description

JavaScript action (written in TypeScript) to dispatch a workflow with a given inputs.

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 ""

Outputs

name type description
text string

Rendered template string

Usage examples

...

Issues

This whole project have to be in commonJs because GitHub actions don't support ES6 modules.

License

The scripts and documentation in this project are released under the MIT License

About

GitHub action to dispatch workflow programmatically

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published