We're a place where coders share, stay up-to-date and grow their careers.
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...
Yup, I would use workflow_dispatch when I want to run tasks on the default branch.
workflow_dispatch
(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.
Okay great thanks. I haven't used workflow dispatch yet so I'll check that out
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...
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 😁)
Add this `.yml` file to your repo to give it a GitHub Actions-based shell
Thai Pangsakulyanont ・ Aug 19 ・ 2 min read
However, if I want to run tasks in context of a PR (or an issue) I think I’d still prefer a label approach.
Okay great thanks. I haven't used workflow dispatch yet so I'll check that out