Do you have any plans to extend Github Actions API to have a possibility to run a workflow and pass some parameters/environment variables?
Actually, what I need badly is something similar to the https://docs.drone.io/promote/
Such API allows us to write CLI tool to run workflows.
I understand that this is a complicated task, because we need to have some new type of event to trigger workflows, let say, promotion event and also it will extend the context of workflow.
Real-life scenario for such thing
I have a feature branch and write some code in it.
For each push event to my repo some workflow is executed to build and run tests against my code.
But sometimes I want to deploy my code to some kind of staging environment. What can I do in this situations? Currently I have the separate workflow with jobs.if-condition statement in it which checks the text [deploy-staging] in the commit message, but it is awful solution. The promotion event could solve my problem, because I will use it only when I ready to deploy my code somewhere.