This is an extension for gh CLI that allows manual interactive execution of workflows registered in GitHub Actions.
Interactive selection of workflows inputs in various formats.
Note Something similar can be done with the
gh workflow run
command, but there is no choice type select (at the moment). I thought about contributing to thegh cli
, but since I was already running this tool personally, I decided to make it public.
-
Install the
gh
CLI. See how to installThe
gh
cli must be version2.35.0
or higher. (This is because the workflow list is obtained in json format.) -
Install this extension
gh extension install t4kamura/gh-wrun
To get started
gh wrun
Execute this command in the root directory of the repository you wish to run.
Note Manual execution may need to be enabled on the GitHub side if this is your first time doing it manually.
--help
for other options.
- Add loading when executing gh commands internally.
- Add a mode to wait for workflows to finish.
- Inputs supports the environments workflow.
MIT