Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI to run for external contributors (#285)
`push` only works for pushes to branches in the repository which means pull requests from forks won't trigger it. This change limits the workflow running on push to the `main` branch, meaning everyone including maintainers with write access to this repository will now need to open a PR to have CI run but this is generally fine if you're already following a PR based flow (which most people do), and avoids running the workflow twice for PRs (once for the `push` trigger and then again for the `pull_request` trigger) which is a little nicer on 🌎
- Loading branch information