I am creating a new git workflow. And just like any other piece of code, I want to test it separately without having to merge it into master first.
This will also help if I have to make few corrections if something doesn't work in the workflow yaml.
Here is the mechanism that I am looking for:
- main branch has .github folder which contains all workflows
- I create a branch and add my workflow to .github folder
- Now I should be able to see(somewhere on Github) workflows from my branch running
- When I know that workflows are working fine, I merge my branch in master
- Now under github 'Action' tab, new workflows will reflect
Is there a way to do this?