johanhelsing / matchbox

Painless peer-to-peer WebRTC networking for rust wasm (and native!)
Apache License 2.0
864 stars 70 forks source link

ci: Don't run twice on pushes to PR branches #377

Closed johanhelsing closed 9 months ago

johanhelsing commented 9 months ago

There was a minimal difference between a push and a pull_request PR runs on stale branches, but branches based off of main, it would test exactly the same code twice.

As far as I understand, testing the pull request event is best, since it does a merge first, before testing.