cobra icon indicating copy to clipboard operation
cobra copied to clipboard

ci: add workflow_dispatch

Open umarcor opened this issue 3 years ago • 7 comments

The workflow dispatch event allows maintainers or forkers to trigger CI runs either through the web GUI or through the API. See https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch.

umarcor avatar May 03 '21 18:05 umarcor

ping @jpmcb

umarcor avatar Aug 04 '21 22:08 umarcor

You can manually trigger workflow runs. To trigger specific workflows in a repository, use the workflow_dispatch event.

I'm not sure why we need this? Why would a maintainer need to manually trigger the github actions?

jpmcb avatar Nov 16 '21 22:11 jpmcb

I'm not sure why we need this? Why would a maintainer need to manually trigger the github actions?

The CI workflow depends on some external dependencies which might change without modifications in the codebase of this repository. Currently, the only solution to have those tested is to rerun an existing workflow, or to push/ammend a "dummy" branch. Having this option avoids that.

Moreover, having this added to the workflow in the default branch will allow users to use the feature in their forks. Hence, even though manually triggering CI might not be used by maintainers of this repo, it can be useful for contributors.

umarcor avatar Nov 16 '21 22:11 umarcor

Can we change the milestone of this PR to 1.5.0?

umarcor avatar Mar 10 '22 16:03 umarcor

Can we change the milestone of this PR to 1.5.0?

I expect we'll be going through the 2.0.0 and Next milestones and selecting things for 1.5. I've moved the current PR to 1.5 for now though.

marckhouzam avatar Mar 10 '22 17:03 marckhouzam

Can we please have this one-liner merged?

umarcor avatar Apr 21 '22 06:04 umarcor

ping @spf13 @johnSchnake @jpmcb @marckhouzam

umarcor avatar Jun 06 '22 13:06 umarcor