build(ci): only run tests on PRs and merges, not direct pushes
Replace the push trigger with pull_request closed event and a conditional check so tests run on PR activity and merges but not on direct pushes to master, saving CI credits.
O
Oleg Polakow committed
965e746be687e1ea646a5edb7a248c8d080c5907
Parent: 2f4fae7