In order to support manually starting a GitHub action workflow from the CLI tool, REST API, or web UI, athe workflow's configuration must have the event workflow_dispatch defined. The usage of this event is described in this GitHub documentation article.
This will allow contributors to kick off an Action workflow in a feature branch prior to authoring a PR to merge into the default branch.
Usage
CLI
An example CLI command an admin may use to manually kickoff a workflow for a feature branch GitHub Reference
The UI will look similar to the screenshot below which shows a Run Workflow button that allows defining the Run From branch and any additional defined parameter from the configuration:
Summary
In order to support manually starting a GitHub action workflow from the CLI tool, REST API, or web UI, athe workflow's configuration must have the event
workflow_dispatch
defined. The usage of this event is described in this GitHub documentation article.This will allow contributors to kick off an Action workflow in a feature branch prior to authoring a PR to merge into the default branch.
Usage
CLI
An example CLI command an admin may use to manually kickoff a workflow for a feature branch GitHub Reference
GitHub UI
The UI will look similar to the screenshot below which shows a Run Workflow button that allows defining the Run From branch and any additional defined parameter from the configuration:![image](https://user-images.githubusercontent.com/6414189/150201521-3dffb030-c42f-42a5-ac6c-089019ac4eea.png)