whenPush makes sure that only non-destructive steps are executed for non-master builds. This way we can have PRs built and tested without breaking anything.
Current drone behavior is really confusing. If you specify a cron trigger, you cannot have branches built. You can only limit the event to push and cron, but then we can as well just specify the ref to be refs/heads/** which is everything but pull requests.
We need the tx_token for pulling translations from transifex, without that step some pipelines fail and so we cannot enable tests for external PRs. At least for PRs from the same repo we have some testing now.
whenPush makes sure that only non-destructive steps are executed for non-master builds. This way we can have PRs built and tested without breaking anything.
Current drone behavior is really confusing. If you specify a cron trigger, you cannot have branches built. You can only limit the event to push and cron, but then we can as well just specify the ref to be refs/heads/** which is everything but pull requests. We need the tx_token for pulling translations from transifex, without that step some pipelines fail and so we cannot enable tests for external PRs. At least for PRs from the same repo we have some testing now.