ignite icon indicating copy to clipboard operation
ignite copied to clipboard

Stop double-building every PR

Open bboreham opened this issue 4 years ago • 3 comments
trafficstars

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.

bboreham avatar Dec 23 '20 14:12 bboreham

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.

darkowlzz avatar Jan 04 '21 06:01 darkowlzz

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.

bboreham avatar Jan 04 '21 07:01 bboreham

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.

bboreham avatar Jan 04 '21 14:01 bboreham