owncloud / translation-sync

:notebook: Sync translations with Transifex
MIT License
1 stars 1 forks source link

Enable pipelines for all branches and cronjobs #31

Closed dschmidt closed 4 years ago

dschmidt commented 4 years ago

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.