I was noticing that a lot of internal PRs (made by team members) were firing multiple CIs for push and pull_request.
In BitcoinJS we use the following.
on:
push:
branches:
- master
pull_request:
I have also considered adding a pattern matching for branches with the prefix with-ci/** (edit: looked up the actual syntax) in case we want to test the CI internally before making a PR... but in general we've just tested things out on PRs anyways so never needed it.
Any thoughts?