DEV Community

loading...

Discussion on: Maybe this useless workflow isn’t so useless after all?

Collapse
michaelcurrin profile image
Michael

Would the new workflow dispatch trigger be a good alternative? You can make an action run on that event and exclude pushes etc. And you can trigger via UI button

github.blog/changelog/2020-07-06-g...

Collapse
dtinth profile image
Thai Pangsakulyanont Author • Edited

Yup, I would use workflow_dispatch when I want to run tasks on the default branch.

(In fact, I have an article on this feature 😁)

However, if I want to run tasks in context of a PR (or an issue) I think I’d still prefer a label approach.

Collapse
michaelcurrin profile image
Michael

Okay great thanks. I haven't used workflow dispatch yet so I'll check that out