.github/workflows/test.yml: Do not run tests on push events beyond main
It is useful to run the tests when the main branch is updated, but not in other circumstances.
It is useful to run the tests when the main branch is updated, but not in other circumstances.