ci: don't run Actions on non-master pushes
This PR cleans up duplicate workflow runs for PRs by making it such that workflows are triggered on push
only for the master
branch. Not all PRs target master, so we still want to trigger workflows on all PRs targeting any branch for the pull_request
event.
cc @MylesBorins
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines