ignite
ignite copied to clipboard
Stop double-building every PR
As noted in the Travis docs: https://docs.travis-ci.com/user/pull-requests/#double-builds-on-pull-requests
I suggest that one or other should be turned off because they are identical in most cases.
This is usually not a problem if the PR is created from a fork. Since we usually create PRs from our forks, we don't notice this issue. Maybe restricting the builds to the main branch only should be good enough https://docs.travis-ci.com/user/customizing-the-build/#safelisting-or-blocklisting-branches . I've noticed the same behavior in github actions when a PR is created from the same repo, not from a fork.
I tried a couple of settings but couldn’t find one that suited. Maybe me opening a fork would be ok.
However Weaveworks is now out of Travis credits so might be moot.
Now it appears that Travis is not being kicked off either from PRs or from merges to master.
At https://travis-ci.com/plans it says "upon validated request placed with our Support Team you may receive free OSS credits for your public builds", but I am unclear how to place such a request. If I try to create an account on Travis it asks for permission to write every repo, which I'm not going to give it.