Yes, usually most things can be tested on a different branch and just set the workflow to trigger from the branch rather than main. There are some cases where this doesn’t work great, however, like testing triggers for pull requests, since then you have to have a 2nd branch to PR to the test branch.
There is also nectos/act, although I don’t personally use it, I have heard it helps with faster development of workflows (and saves cost if you are not self hosting runners).
Yes, usually most things can be tested on a different branch and just set the workflow to trigger from the branch rather than main. There are some cases where this doesn’t work great, however, like testing triggers for pull requests, since then you have to have a 2nd branch to PR to the test branch.
There is also nectos/act, although I don’t personally use it, I have heard it helps with faster development of workflows (and saves cost if you are not self hosting runners).